From db685f280d639e2578e9b923cde8f40d3b481560 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 28 Apr 2010 21:33:36 +0200 Subject: [PATCH] xbps-bin/install.c: remove unused vars, found by clang. --HG-- extra : convert_revision : xtraeme%40gmail.com-20100428193336-61glbrl5rnjpby4p --- bin/xbps-bin/install.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/xbps-bin/install.c b/bin/xbps-bin/install.c index 9f9365af..83bccad9 100644 --- a/bin/xbps-bin/install.c +++ b/bin/xbps-bin/install.c @@ -96,7 +96,6 @@ download_package_list(prop_object_iterator_t iter) const char *pkgver, *repoloc, *filename, *cachedir, *sha256; char *binfile, *lbinfile; int rv = 0; - bool found_binpkg; cachedir = xbps_get_cachedir(); if (cachedir == NULL) @@ -106,7 +105,6 @@ download_package_list(prop_object_iterator_t iter) xbps_fetch_set_cache_connection(0, 0); while ((obj = prop_object_iterator_next(iter)) != NULL) { - found_binpkg = false; if (!prop_dictionary_get_cstring_nocopy(obj, "repository", &repoloc)) return errno; @@ -492,7 +490,7 @@ exec_transaction(struct transaction *trans) */ printf("\n[2/3] Unpacking\n"); while ((obj = prop_object_iterator_next(trans->iter)) != NULL) { - update = autoinst = preserve = false; + autoinst = preserve = false; if (!prop_dictionary_get_cstring_nocopy(obj, "pkgname", &pkgname))