CODING: one-line if statements should not have braces 70/12370/2
authorMichael Meffie <mmeffie@sinenomine.net>
Wed, 17 Aug 2016 14:57:48 +0000 (10:57 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Sun, 11 Sep 2016 22:45:00 +0000 (18:45 -0400)
commitf2f5a7bca5e77971ef71bf2ddabf93868fe79f1d
tree13994bf03976a5d03d8dfea586260b884e8014e3
parentf0fa5a5327c7440070d34127a124d6b7eb4bd32d
CODING: one-line if statements should not have braces

Update the style guide with a declaration of the prevailing and
preferred brace style for one-line if statements and loops. Provide an
example and counter-example.

Change-Id: Iafeea977203b76c0e67385779fb4ed57f3c6699a
Reviewed-on: https://gerrit.openafs.org/12370
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
CODING