xbps-pkgdb: simplify the check code; make the reqby check work again.
This commit is contained in:
@@ -45,10 +45,7 @@
|
||||
*/
|
||||
|
||||
int
|
||||
check_pkg_rundeps(struct xbps_handle *xhp,
|
||||
const char *pkgname,
|
||||
void *arg,
|
||||
bool *pkgdb_update)
|
||||
check_pkg_rundeps(struct xbps_handle *xhp, const char *pkgname, void *arg)
|
||||
{
|
||||
prop_dictionary_t pkg_propsd = arg;
|
||||
prop_object_t obj;
|
||||
@@ -56,8 +53,6 @@ check_pkg_rundeps(struct xbps_handle *xhp,
|
||||
const char *reqpkg;
|
||||
bool test_broken = false;
|
||||
|
||||
(void)pkgdb_update;
|
||||
|
||||
if (!xbps_pkg_has_rundeps(pkg_propsd))
|
||||
return 0;
|
||||
|
||||
|
Reference in New Issue
Block a user