]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix tinycc.c misleading indentation as pointed out by GCC6.
authorMark Wielaard <mark@klomp.org>
Sun, 24 Jan 2016 13:39:10 +0000 (13:39 +0000)
committerMark Wielaard <mark@klomp.org>
Sun, 24 Jan 2016 13:39:10 +0000 (13:39 +0000)
tinycc.c: In function ‘expr_eq’:
tinycc.c:13368:21: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation]
                     gv(rc);
                     ^~

tinycc.c:13366:17: note: ...this ‘else’ clause, but it is not
                 else
                 ^~~~

Two statements are indeed misleadingly indented. Fixed by unindenting them.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15772

perf/tinycc.c

index 3b487c13f7b0e438d221520d7d038a411c93ddc8..0652d1aeb43daab961ddcd9b07354eab70aa513e 100644 (file)
@@ -13365,8 +13365,8 @@ static void expr_eq(void)
                     rc = RC_FLOAT;
                 else
                     rc = RC_INT;
-                    gv(rc);
-                    save_regs(1);
+                gv(rc);
+                save_regs(1);
             }
             if (tok == ':' && gnu_ext) {
                 gv_dup();