diff options
author | eadler <eadler@FreeBSD.org> | 2012-01-10 02:58:29 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-01-10 02:58:29 +0000 |
commit | 79336da98aefd1d52dc0317ff6f02d52a4f2dade (patch) | |
tree | b8c9bb9ef48327e62d576a03a37809f65547c37e /usr.bin | |
parent | f47c6b6cdbac5ddd3d99335a5a36acf2714de3e2 (diff) | |
download | FreeBSD-src-79336da98aefd1d52dc0317ff6f02d52a4f2dade.zip FreeBSD-src-79336da98aefd1d52dc0317ff6f02d52a4f2dade.tar.gz |
Fix warning when compiling with gcc46:
error: variable 'verbose' set but not use
Approved by: dim
MFC after: 3 days
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/brandelf/brandelf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/brandelf/brandelf.c b/usr.bin/brandelf/brandelf.c index d2c8b01..ce462e9 100644 --- a/usr.bin/brandelf/brandelf.c +++ b/usr.bin/brandelf/brandelf.c @@ -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) |