From b286cb8eac308b2f2350d01b8b0ccb63909a2e47 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 2 Apr 2016 19:59:19 +0200 Subject: [PATCH] apps/opt.c: next was only used when NDEBUG undefined, move it inside guard Reviewed-by: Rich Salz --- apps/opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/opt.c b/apps/opt.c index f4eba2dca0..af994bb743 100644 --- a/apps/opt.c +++ b/apps/opt.c @@ -163,8 +163,8 @@ char *opt_init(int ac, char **av, const OPTIONS *o) unknown = NULL; for (; o->name; ++o) { - const OPTIONS *next; #ifndef NDEBUG + const OPTIONS *next; int duplicated, i; #endif -- 2.25.1