...
Not enclosing the bodies of if
, for
, or while
statements in braces makes code maintenance error prone.
Related Guidelines
[Rogue 2000] | Rule 76: Use block statements instead of expression statements in control flow constructs |
Bibliography
[GNU 2010] | Rule 76: Use block statements instead of expression statements in control flow constructs |