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:
parent
11de88d122
commit
8ec438e168
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user