diff options
| author | Tony Lindgren <tony@atomide.com> | 2011-11-07 15:27:23 -0500 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2011-11-07 15:27:23 -0500 |
| commit | d30cc16c8e48368e0518f4975a78711e53e14a0f (patch) | |
| tree | 26b57f7ab5a963cc3d6c57dff6951bd930875583 /Documentation/CodingStyle | |
| parent | 41eb2d813f558900884e240c2f723e36c7bd151f (diff) | |
| parent | a1bcc1dcef8451b4291ea2a1b2677cb194102952 (diff) | |
Merge branch 'fixes-modulesplit' into fixes
Diffstat (limited to 'Documentation/CodingStyle')
| -rw-r--r-- | Documentation/CodingStyle | 4 |
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) | |||
| 166 | else | 166 | else |
| 167 | do_that(); | 167 | do_that(); |
| 168 | 168 | ||
| 169 | This does not apply if one branch of a conditional statement is a single | 169 | This does not apply if only one branch of a conditional statement is a single |
| 170 | statement. Use braces in both branches. | 170 | statement; in the latter case use braces in both branches: |
| 171 | 171 | ||
| 172 | if (condition) { | 172 | if (condition) { |
| 173 | do_this(); | 173 | do_this(); |
