From 8ec438e1682c002a268ca73c080fdf5357f5e070 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 28 Apr 2010 18:33:41 +0200 Subject: [PATCH] xbps-bin/main.c: remove unused var found by clang analyzer. --HG-- extra : convert_revision : xtraeme%40gmail.com-20100428163341-3b947nuva6l5pv85 --- bin/xbps-bin/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/xbps-bin/main.c b/bin/xbps-bin/main.c index d621fba0..254c0793 100644 --- a/bin/xbps-bin/main.c +++ b/bin/xbps-bin/main.c @@ -120,9 +120,9 @@ main(int argc, char **argv) prop_dictionary_t dict; struct sigaction sa; int i = 0, c, flags = 0, rv = 0; - bool yes, verbose, purge; + bool yes, purge; - yes = verbose = purge = false; + yes = purge = false; while ((c = getopt(argc, argv, "Vcfpr:vy")) != -1) { switch (c) { @@ -140,7 +140,6 @@ main(int argc, char **argv) xbps_set_rootdir(optarg); break; case 'v': - verbose = true; flags |= XBPS_FLAG_VERBOSE; break; case 'V':