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 <[email protected]>
---
ifparser.c | 6 +++---
1 file 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 '%':
--
2.15.0
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel