aboutsummaryrefslogtreecommitdiff
path: root/lib/checksrc.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/checksrc.pl')
-rwxr-xr-xlib/checksrc.pl3
1 files changed, 2 insertions, 1 deletions
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 {