xbps_transaction_remove_pkg: fix uninitialized argument value reported by scan-build.
This commit is contained in:
parent
0a1ea51e4e
commit
dbf4bb184e
@ -313,7 +313,7 @@ xbps_transaction_remove_pkg(struct xbps_handle *xhp,
|
||||
prop_array_add(unsorted, obj);
|
||||
xbps_dbg_printf(xhp, "%s: added into transaction (remove).\n", pkgver);
|
||||
}
|
||||
reqby = xbps_pkgdb_get_pkg_revdeps(xhp, pkgver);
|
||||
reqby = xbps_pkgdb_get_pkg_revdeps(xhp, pkgname);
|
||||
/*
|
||||
* If target pkg is required by any installed pkg, the client must be aware
|
||||
* of this to take appropiate action.
|
||||
|
Loading…
Reference in New Issue
Block a user