From 308a25f302a05a89b632b878b740d42f8ac18300 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 19 Nov 2009 06:10:42 +0100 Subject: [PATCH] xbps_unpack_binary_pkg: initialize a local var. --HG-- extra : convert_revision : xtraeme%40gmail.com-20091119051042-0kyp37uo6puex4jt --- lib/unpack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/unpack.c b/lib/unpack.c index 40b65775..9c3656e3 100644 --- a/lib/unpack.c +++ b/lib/unpack.c @@ -323,7 +323,7 @@ static int unpack_archive_fini(struct archive *ar, prop_dictionary_t pkg, bool essential) { - prop_dictionary_t filesd, old_filesd = NULL; + prop_dictionary_t filesd = NULL, old_filesd = NULL; struct archive_entry *entry; const char *pkgname, *version, *rootdir, *entry_str; char *buf, *buf2;