mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +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";
|
const char *strtype = "FreeBSD";
|
||||||
int type = ELFOSABI_FREEBSD;
|
int type = ELFOSABI_FREEBSD;
|
||||||
int retval = 0;
|
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)
|
while ((ch = getopt(argc, argv, "f:lt:v")) != -1)
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
@ -84,7 +84,7 @@ main(int argc, char **argv)
|
|||||||
listed = 1;
|
listed = 1;
|
||||||
break;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
verbose = 1;
|
/* does nothing */
|
||||||
break;
|
break;
|
||||||
case 't':
|
case 't':
|
||||||
if (force)
|
if (force)
|
||||||
|
Loading…
Reference in New Issue
Block a user