mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-29 06:47:21 +01:00
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:
parent
cc898a0e5c
commit
fdba8122d6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229908
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user