xbps-bin: (check) initialize vars to avoid a gcc warning.
This commit is contained in:
parent
dbd5e05280
commit
238c9d9926
@ -72,6 +72,8 @@ check_pkg_integrity(const char *pkgname)
|
|||||||
int rv = 0;
|
int rv = 0;
|
||||||
bool broken = false;
|
bool broken = false;
|
||||||
|
|
||||||
|
propsd = filesd = NULL;
|
||||||
|
|
||||||
/* find real pkg by name */
|
/* find real pkg by name */
|
||||||
pkgd = xbps_find_pkg_dict_installed(pkgname, false);
|
pkgd = xbps_find_pkg_dict_installed(pkgname, false);
|
||||||
if (pkgd == NULL) {
|
if (pkgd == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user