From ff0b9b9b5946844d4a6e0aeecb772e5f37638a38 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 25 Jan 2012 02:18:15 +0100 Subject: [PATCH] transaction_find_pkg: warning due to uninitialized var. --- lib/transaction_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transaction_ops.c b/lib/transaction_ops.c index 863a3398..43ce1a33 100644 --- a/lib/transaction_ops.c +++ b/lib/transaction_ops.c @@ -59,7 +59,7 @@ enum { static int transaction_find_pkg(const char *pkg, bool bypattern, bool bestpkg, int action) { - prop_dictionary_t pkg_pkgdb, pkg_repod = NULL; + prop_dictionary_t pkg_pkgdb = NULL, pkg_repod = NULL; prop_array_t unsorted; struct xbps_handle *xhp = xbps_handle_get(); const char *pkgname, *pkgver, *repoloc, *repover, *instver, *reason;