From 238c9d9926e85597f0141ae712d7bb5b820dfbed Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 28 Oct 2011 09:35:34 +0200 Subject: [PATCH] xbps-bin: (check) initialize vars to avoid a gcc warning. --- bin/xbps-bin/check.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/xbps-bin/check.c b/bin/xbps-bin/check.c index 04ccd255..7d63cd1e 100644 --- a/bin/xbps-bin/check.c +++ b/bin/xbps-bin/check.c @@ -72,6 +72,8 @@ check_pkg_integrity(const char *pkgname) int rv = 0; bool broken = false; + propsd = filesd = NULL; + /* find real pkg by name */ pkgd = xbps_find_pkg_dict_installed(pkgname, false); if (pkgd == NULL) {