aboutsummaryrefslogtreecommitdiff
path: root/lib/checksrc.pl
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2016-12-19 02:31:59 -0500
committerJay Satiro <raysatiro@yahoo.com>2016-12-19 02:31:59 -0500
commitc2402b6e02c6de2e4be0f87fd094da8e24d81d87 (patch)
tree67951a14c41b799d30b457063e21373b4c2232af /lib/checksrc.pl
parentd00f2a8f2e8529024709f70c8ab4c4138dc651a0 (diff)
tests: checksrc compliance
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 {