xbps-bin: (check) initialize vars to avoid a gcc warning.

This commit is contained in:
Juan RP 2011-10-28 09:35:34 +02:00
parent dbd5e05280
commit 238c9d9926

View File

@ -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) {