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:
parent
3f72a92c98
commit
d58debb35c
1 changed files with 2 additions and 5 deletions
|
@ -198,12 +198,9 @@ find_deps_in_pkg(prop_dictionary_t repo, prop_dictionary_t pkg)
|
||||||
free(pkgname);
|
free(pkgname);
|
||||||
|
|
||||||
/* Iterate on required pkg to find more deps */
|
/* Iterate on required pkg to find more deps */
|
||||||
if (xbps_pkg_has_rundeps(pkgdict)) {
|
|
||||||
/* more deps? */
|
|
||||||
if (!find_deps_in_pkg(repo, pkgdict))
|
if (!find_deps_in_pkg(repo, pkgdict))
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
prop_object_iterator_release(iter);
|
prop_object_iterator_release(iter);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue