Fix warnings detected by LTO.

This commit is contained in:
Juan RP
2020-04-23 08:32:54 +02:00
parent e7c1f411ec
commit 530e79c7ee
5 changed files with 8 additions and 6 deletions

View File

@@ -215,7 +215,7 @@ xbps_transaction_check_revdeps(struct xbps_handle *xhp, xbps_array_t pkgs)
}
for (unsigned int j = 0; j < xbps_array_count(rundeps); j++) {
const char *curdep;
const char *curdep = NULL;
xbps_array_get_cstring_nocopy(rundeps, j, &curdep);
if ((!xbps_pkgpattern_name(curdepname, sizeof(curdepname), curdep)) &&