From 217ddd032e4d465952484e563b5f779d8f812268 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 7 Sep 2016 20:28:07 +0200 Subject: C-STYLE: Yoda conditions --- C-STYLE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit 1.4.1