summaryrefslogtreecommitdiffstats
path: root/apps/opt.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-04-02 19:59:19 +0200
committerRichard Levitte <levitte@openssl.org>2016-04-02 22:34:05 +0200
commitb286cb8eac308b2f2350d01b8b0ccb63909a2e47 (patch)
tree8736ab360d0c9b145150c1943001cb497ddda135 /apps/opt.c
parente3d818588056ec8fed501e1f5970ef9b5b057fc5 (diff)
apps/opt.c: next was only used when NDEBUG undefined, move it inside guard
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/opt.c')
-rw-r--r--apps/opt.c2
1 files changed, 1 insertions, 1 deletions
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