[cfe-commits] r152080 - /cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp

Jordy Rose jediknil at belkadan.com
Mon Mar 5 16:33:35 PST 2012


Author: jrose
Date: Mon Mar  5 18:33:35 2012
New Revision: 152080

URL: http://llvm.org/viewvc/llvm-project?rev=152080&view=rev
Log:
[analyzer] Remove now-unused constant. No functionality change.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp?rev=152080&r1=152079&r2=152080&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp Mon Mar  5 18:33:35 2012
@@ -99,8 +99,6 @@
   mutable IdentifierInfo *II_malloc, *II_free, *II_realloc, *II_calloc,
                          *II_valloc, *II_reallocf, *II_strndup, *II_strdup;
 
-  static const unsigned InvalidArgIndex = UINT_MAX;
-
 public:
   MallocChecker() : II_malloc(0), II_free(0), II_realloc(0), II_calloc(0),
                     II_valloc(0), II_reallocf(0), II_strndup(0), II_strdup(0) {}





More information about the cfe-commits mailing list