summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2018-05-05 10:00:38 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2018-05-05 10:37:21 -0700
commit223b315a9148ec0091837f2e369bbb3ec5d49e11 (patch)
tree114edd0f42e026134a69ebde1238d577f7e67e63
parent13385d8add69156805f824cedcdad2986a23662d (diff)
downloadxorg-util-makedepend-223b315a9148ec0091837f2e369bbb3ec5d49e11.tar.gz
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ifparser.c b/ifparser.c
index 0efa550..4fb4d58 100644
--- a/ifparser.c
+++ b/ifparser.c
@@ -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 '%':