lib/depends.c: remove some extra unneeded checks.

--HG--
extra : convert_revision : f7acb4754894690941a2087bc09b011c50ea3add
This commit is contained in:
Juan RP 2009-04-10 01:46:05 +02:00
parent 01be3b5920
commit f0bbfad2ae

View file

@ -301,12 +301,6 @@ find_repo_deps(prop_dictionary_t master, prop_dictionary_t repo,
char *pkgname;
int rv = 0;
/*
* Package doesn't have deps, check to be sure.
*/
if (pkg_rdeps == NULL || prop_array_count(pkg_rdeps) == 0)
return 0;
iter = prop_array_iterator(pkg_rdeps);
if (iter == NULL)
return ENOMEM;