lib/depends.c: remove some extra unneeded checks.
--HG-- extra : convert_revision : f7acb4754894690941a2087bc09b011c50ea3add
This commit is contained in:
parent
01be3b5920
commit
f0bbfad2ae
|
@ -301,12 +301,6 @@ find_repo_deps(prop_dictionary_t master, prop_dictionary_t repo,
|
||||||
char *pkgname;
|
char *pkgname;
|
||||||
int rv = 0;
|
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);
|
iter = prop_array_iterator(pkg_rdeps);
|
||||||
if (iter == NULL)
|
if (iter == NULL)
|
||||||
return ENOMEM;
|
return ENOMEM;
|
||||||
|
|
Loading…
Reference in New Issue