xbps-bin/main.c: remove unused var found by clang analyzer.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20100428163341-3b947nuva6l5pv85
This commit is contained in:
Juan RP 2010-04-28 18:33:41 +02:00
parent 11de88d122
commit 8ec438e168

View File

@ -120,9 +120,9 @@ main(int argc, char **argv)
prop_dictionary_t dict; prop_dictionary_t dict;
struct sigaction sa; struct sigaction sa;
int i = 0, c, flags = 0, rv = 0; 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) { while ((c = getopt(argc, argv, "Vcfpr:vy")) != -1) {
switch (c) { switch (c) {
@ -140,7 +140,6 @@ main(int argc, char **argv)
xbps_set_rootdir(optarg); xbps_set_rootdir(optarg);
break; break;
case 'v': case 'v':
verbose = true;
flags |= XBPS_FLAG_VERBOSE; flags |= XBPS_FLAG_VERBOSE;
break; break;
case 'V': case 'V':