From c2402b6e02c6de2e4be0f87fd094da8e24d81d87 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Mon, 19 Dec 2016 02:31:59 -0500 Subject: tests: checksrc compliance --- lib/checksrc.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/checksrc.pl b/lib/checksrc.pl index c56e9c841..7857bbfc7 100755 --- a/lib/checksrc.pl +++ b/lib/checksrc.pl @@ -57,7 +57,8 @@ my %warnings = ( 'UNUSEDIGNORE' => 'a warning ignore was not used', 'OPENCOMMENT' => 'file ended with a /* comment still "open"', 'ASTERISKSPACE' => 'pointer declared with space after asterisk', - 'ASTERISKNOSPACE' => 'pointer declared without space before asterisk' + 'ASTERISKNOSPACE' => 'pointer declared without space before asterisk', + 'ASSIGNWITHINCONDITION' => 'assignment within conditional expression' ); sub readwhitelist { -- cgit v1.2.3