[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: quality/krazy2/extras/c++
From: Allen Winter <winter () kde ! org>
Date: 2008-09-30 23:05:50
Message-ID: 1222815950.316272.9105.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 866464 by winterz:
Less false positives, thanks for the patch Erik.
CCMAIL: erik@hovland.org
M +4 -2 null
--- trunk/quality/krazy2/extras/c++/null #866463:866464
@@ -4,7 +4,7 @@
if 0; # not running under some shell
###############################################################################
# Sanity check plugin for the Krazy project. #
-# Copyright (C) 2007 by Allen Winter <winter@kde.org> #
+# Copyright (C) 2007-2008 by Allen Winter <winter@kde.org> #
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
@@ -43,7 +43,7 @@
use Krazy::Utils;
my($Prog) = "null";
-my($Version) = "1.1";
+my($Version) = "1.2";
&parseArgs();
@@ -105,6 +105,8 @@
if ($line =~ m/NULL/ || $line =~ m/0[lL]/) {
next if ($line =~ m/\".*NULL.*\"/);
next if ($line =~ m/#.*NULL/);
+ next if ($line =~ m/\w+NULL/);
+ next if ($line =~ m/NULL\w+/);
next if ($line =~ m/\".*0[lL].*\"/);
next if ($line =~ m/[[:digit:]]0[lL]/);
$cnt++;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic