lib/transaction_check_revdeps.c: fix regression in revdeps check
this is probably the same as reported in #245. Its again not resetting/initializing a variable in a loop, falling back to the previous set value.
This commit is contained in:
parent
4d40179a8a
commit
aed9402d62
@ -172,6 +172,8 @@ xbps_transaction_check_revdeps(struct xbps_handle *xhp, xbps_array_t pkgs)
|
||||
error = true;
|
||||
goto out;
|
||||
}
|
||||
|
||||
ttype = 0;
|
||||
if ((revpkgd = xbps_find_pkg_in_array(pkgs, pkgname, 0))) {
|
||||
ttype = xbps_transaction_pkg_type(revpkgd);
|
||||
if (ttype == XBPS_TRANS_REMOVE)
|
||||
|
Loading…
Reference in New Issue
Block a user