diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2018-05-05 10:00:38 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2018-05-05 10:37:21 -0700 |
commit | 223b315a9148ec0091837f2e369bbb3ec5d49e11 (patch) | |
tree | 114edd0f42e026134a69ebde1238d577f7e67e63 | |
parent | 13385d8add69156805f824cedcdad2986a23662d (diff) |
Fix bad indentation in ifparser.c
ifparser.c: In function ‘parse_product’:
ifparser.c:300:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else
^~~~
ifparser.c:302:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
break;
^~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | ifparser.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -295,10 +295,10 @@ parse_product (IfParser *g, const char *cp, long *valp) case '/': DO (cp = parse_product (g, cp + 1, &rightval)); - if (rightval) + if (rightval) *valp = (*valp / rightval); - else - *valp = LONG_MAX; + else + *valp = LONG_MAX; break; case '%': |