On Thu, Dec 26, 2013 at 11:20:31AM -0800, Joe Perches wrote:
> If statements don't need multiple parentheses around tested
> comparisons like "if ((foo == bar))".
>
> An == comparison maybe a sign of an intended assignment,
> so emit a slightly different message if so.
>
> Signed-off-by: Joe Perc
If statements don't need multiple parentheses around tested
comparisons like "if ((foo == bar))".
An == comparison maybe a sign of an intended assignment,
so emit a slightly different message if so.
Signed-off-by: Joe Perches
---
scripts/checkpatch.pl | 14 ++
1 file changed, 14 ins
2 matches
Mail list logo