aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;