diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-09-07 20:28:07 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-09-07 20:28:07 +0200 |
commit | 217ddd032e4d465952484e563b5f779d8f812268 (patch) | |
tree | b69ae3cb6706a482ee259feadbf582da490af2df | |
parent | 8f28988793600a9f64de89d87de6df8f2ba602ca (diff) | |
download | styleguide-217ddd032e4d465952484e563b5f779d8f812268.tar.gz styleguide-217ddd032e4d465952484e563b5f779d8f812268.tar.xz styleguide-217ddd032e4d465952484e563b5f779d8f812268.zip |
C-STYLE: Yoda conditions
-rw-r--r-- | C-STYLE.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/C-STYLE.md b/C-STYLE.md index 7119800..b60fdd9 100644 --- a/C-STYLE.md +++ b/C-STYLE.md @@ -130,7 +130,7 @@ but merely how to format it. * Do not use `!strcmp(a, b)`. * Use `if (!p) ...` to check whether `p` is a null pointer. -* Don't use Yoda comparison (`0 == x`). +* Don't use Yoda conditions (`0 == x`). * Use a plain `;` on a line of itself for the empty instruction. |