aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/CodingStyle
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/CodingStyle')
-rw-r--r--Documentation/CodingStyle4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle
index c940239d9678..2b90d328b3ba 100644
--- a/Documentation/CodingStyle
+++ b/Documentation/CodingStyle
@@ -166,8 +166,8 @@ if (condition)
166else 166else
167 do_that(); 167 do_that();
168 168
169This does not apply if one branch of a conditional statement is a single 169This does not apply if only one branch of a conditional statement is a single
170statement. Use braces in both branches. 170statement; in the latter case use braces in both branches:
171 171
172if (condition) { 172if (condition) {
173 do_this(); 173 do_this();