transaction_find_pkg: warning due to uninitialized var.

This commit is contained in:
Juan RP 2012-01-25 02:18:15 +01:00
parent abb0d260b9
commit ff0b9b9b59

View File

@ -59,7 +59,7 @@ enum {
static int static int
transaction_find_pkg(const char *pkg, bool bypattern, bool bestpkg, int action) 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; prop_array_t unsorted;
struct xbps_handle *xhp = xbps_handle_get(); struct xbps_handle *xhp = xbps_handle_get();
const char *pkgname, *pkgver, *repoloc, *repover, *instver, *reason; const char *pkgname, *pkgver, *repoloc, *repover, *instver, *reason;