From: Benjamin Kramer Date: Thu, 9 Feb 2012 12:05:18 +0000 (+0000) Subject: Remove unused fun. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7fb4900f83832432dd4cdb84eb6e2ed132e6daf1;p=clang Remove unused fun. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150172 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp index 7edc50d42f..08c0b1cde1 100644 --- a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp @@ -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;