Fix warning when compiling with gcc46:

error: variable 'verbose' set but not use

Approved by:	dim
MFC after:      3 days
This commit is contained in:
Eitan Adler 2012-01-10 02:58:29 +00:00
parent cc898a0e5c
commit fdba8122d6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229908

View File

@ -64,7 +64,7 @@ main(int argc, char **argv)
const char *strtype = "FreeBSD";
int type = ELFOSABI_FREEBSD;
int retval = 0;
int ch, change = 0, verbose = 0, force = 0, listed = 0;
int ch, change = 0, force = 0, listed = 0;
while ((ch = getopt(argc, argv, "f:lt:v")) != -1)
switch (ch) {
@ -84,7 +84,7 @@ main(int argc, char **argv)
listed = 1;
break;
case 'v':
verbose = 1;
/* does nothing */
break;
case 't':
if (force)