From fdba8122d6a4c602309d08c7ce767937cce0c02d Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Tue, 10 Jan 2012 02:58:29 +0000 Subject: [PATCH] Fix warning when compiling with gcc46: error: variable 'verbose' set but not use Approved by: dim MFC after: 3 days --- usr.bin/brandelf/brandelf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/brandelf/brandelf.c b/usr.bin/brandelf/brandelf.c index d2c8b0142362..ce462e94c5f0 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)