summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-09-07 20:30:30 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-09-07 20:30:30 +0200
commitf9cab33741abf753963ed51607f9cbf553a74631 (patch)
treec25afbf8d36f7c4cf4e63cde48acc627c85a6f69
parent217ddd032e4d465952484e563b5f779d8f812268 (diff)
downloadstyleguide-f9cab33741abf753963ed51607f9cbf553a74631.tar.gz
styleguide-f9cab33741abf753963ed51607f9cbf553a74631.tar.xz
styleguide-f9cab33741abf753963ed51607f9cbf553a74631.zip
C-STYLE: redundancy
-rw-r--r--C-STYLE.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/C-STYLE.md b/C-STYLE.md
index b60fdd9..9a5f298 100644
--- a/C-STYLE.md
+++ b/C-STYLE.md
@@ -122,8 +122,6 @@ but merely how to format it.
 * Do not use `NULL`.  Use `0` for null pointers.
   Remember to use `(char *)0` as a sentinel for execl(3).
 
-* Check null pointers by truth: `if (foo) ...`
-
 * Avoid superfluous comparison to 0.
   * Exception:  Use `== 0` when 0 is the successful result, e.g.
     `strcmp(a, b) == 0`, `access(file, F_OK) == 0`, `regexec(...) == 0`.