lib/transaction_dictionary.c: fix dead assignment.
Found by clang-analyzer. Bug Summary File: lib/transaction_dictionary.c Warning: line 68, column 2 Value stored to 'rootdir_free_size' is never read
This commit is contained in:
parent
6fe5bbc596
commit
6b84d75dc1
@ -65,7 +65,7 @@ compute_transaction_stats(struct xbps_handle *xhp)
|
||||
const char *tract, *pkgver, *repo;
|
||||
|
||||
inst_pkgcnt = up_pkgcnt = cf_pkgcnt = rm_pkgcnt = dl_pkgcnt = 0;
|
||||
rootdir_free_size = tsize = dlsize = instsize = rmsize = 0;
|
||||
tsize = dlsize = instsize = rmsize = 0;
|
||||
|
||||
iter = xbps_array_iter_from_dict(xhp->transd, "packages");
|
||||
if (iter == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user