Menu

#6 change then statement to block problem

open
nobody
quick fixes (3)
3
2005-03-31
2005-03-31
No

the empty statement is not removed so:

if (x)
;

is fixed like this:
if (x) {
;
}

funny thing,
the rule is from braces... but still is funny
note that is a secial case for

if (x)
code();

Discussion

MongoDB Logo MongoDB