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

Benjamin Kramer benny.kra at googlemail.com
Thu Feb 9 04:05:18 PST 2012


Author: d0k
Date: Thu Feb  9 06:05:18 2012
New Revision: 150172

URL: http://llvm.org/viewvc/llvm-project?rev=150172&view=rev
Log:
Remove unused fun.

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=150172&r1=150171&r2=150172&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp Thu Feb  9 06:05:18 2012
@@ -850,7 +850,6 @@
   const FunctionDecl *funDecl = CE->getDirectCallee();
   if (!funDecl)
     return 0;
-  StringRef funName = funDecl->getName();
 
   // Find out if this is an interesting point and what is the kind.
   const char *Msg = 0;





More information about the cfe-commits mailing list