]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Avoid -Wmisleading-indentation warnings with GCC 6.
authorColin Watson <cjwatson@debian.org>
Thu, 28 Jan 2016 21:19:41 +0000 (21:19 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 29 Feb 2016 19:59:36 +0000 (19:59 +0000)
commite71ec6bf9fc5094171faecb70f597cf60653b488
tree9ce0f5a08b926d40af3fd02f3ed7d111824818cf
parent4dbf2ea85ce0239d26f318cd9553a40f2444f5d2
Avoid -Wmisleading-indentation warnings with GCC 6.

GCC 6 warns about potentially misleading indentation, such as:

    if (condition) stmt1; stmt2;

Chaining multiple ifs on a single line runs into this warning, even if
it's probably not actually misleading to a human eye, so just add a
couple of newlines to pacify the compiler.

(cherry picked from commit d700c33422926dda1b4af90bf1fcd262b03cfca8)
cproxy.c
proxy.c