]> granicus.if.org Git - clang/commitdiff
Remove unused fun.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 9 Feb 2012 12:05:18 +0000 (12:05 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 9 Feb 2012 12:05:18 +0000 (12:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150172 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Checkers/MallocChecker.cpp

index 7edc50d42f2e37a1b7567d2fb71e0016cd587b3b..08c0b1cde1447d73b9a3af379a9b19ff4329bbe3 100644 (file)
@@ -850,7 +850,6 @@ MallocChecker::MallocBugVisitor::VisitNode(const ExplodedNode *N,
   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;