[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: quality/krazy2/plugins/c++
From: Allen Winter <winter () kde ! org>
Date: 2010-07-25 14:54:19
Message-ID: 20100725145419.0D89FAC7E2 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1154473 by winterz:
skip exit(foo) lines
M +2 -1 crashy
--- trunk/quality/krazy2/plugins/c++/crashy #1154472:1154473
@@ -4,7 +4,7 @@
if 0; # not running under some shell
###############################################################################
# Sanity check plugin for the Krazy project. #
-# Copyright (C) 2009 by Allen Winter <winter@kde.org> #
+# Copyright (C) 2009-2010 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 #
@@ -95,6 +95,7 @@
$var =~ s/!//;
next if ($var =~ m/^return/);
+ next if ($var =~ m/^exit/);
next if ($var =~ m/^app/);
$pat = "\\*\\s*" . $var . "\\s*=\\s*new\\s*\\w+\\(";
if ($line =~ m/$var\.exec/ || &searchBack($pat,$linecnt,15)) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic