find_deps_in_pkg: no need to call xbps_pkg_has_rundeps() in the loop.

--HG--
extra : convert_revision : d9a1f3cc1e598a3d00cd7f26cc862bd7945523ee
This commit is contained in:
Juan RP 2009-02-06 00:47:31 +01:00
parent 3f72a92c98
commit d58debb35c
1 changed files with 2 additions and 5 deletions

View File

@ -198,11 +198,8 @@ find_deps_in_pkg(prop_dictionary_t repo, prop_dictionary_t pkg)
free(pkgname);
/* Iterate on required pkg to find more deps */
if (xbps_pkg_has_rundeps(pkgdict)) {
/* more deps? */
if (!find_deps_in_pkg(repo, pkgdict))
continue;
}
if (!find_deps_in_pkg(repo, pkgdict))
continue;
}
prop_object_iterator_release(iter);