aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-02-09 12:05:18 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-02-09 12:05:18 +0000
commit7fb4900f83832432dd4cdb84eb6e2ed132e6daf1 (patch)
tree958ae348fb4e884a80ea0f6e370b5c87e95c0dd0
parent54042f1bd78f1f1ea86be7d4af541462e127d2ed (diff)
Remove unused fun.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150172 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/StaticAnalyzer/Checkers/MallocChecker.cpp1
1 files changed, 0 insertions, 1 deletions
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;