I never understand the desire to omit braces in single line blocks.
sure
for ()
foo
saves you a line, but it's a bug waiting to happen.sure
for ()
foo
saves you a line, but it's a bug waiting to happen. for () foo;
Makes it clear it's ONE statement. At least for me...-Wunreachable-code was disabled in gcc years ago.