From ad66fa2e3d03a357071f9939dc389dd5a56f7a2c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 8 Apr 2011 19:25:41 +0200 Subject: [PATCH] xbps-bin::install.c: remove unused var to make this build with gcc-4.6. Reported and patch provided by ojab in issue 4. --- bin/xbps-bin/install.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/xbps-bin/install.c b/bin/xbps-bin/install.c index b01db38d..20ee7d2b 100644 --- a/bin/xbps-bin/install.c +++ b/bin/xbps-bin/install.c @@ -383,7 +383,6 @@ xbps_update_pkg(const char *pkgname) static int exec_transaction(struct transaction *trans) { - const struct xbps_handle *xhp; prop_dictionary_t instpkgd; prop_object_t obj; const char *pkgname, *version, *pkgver, *instver, *filen, *tract; @@ -391,7 +390,6 @@ exec_transaction(struct transaction *trans) bool update, preserve, autoinst; pkg_state_t state; - xhp = xbps_handle_get(); /* * Only show the URLs to download the binary packages. */