summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
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
commit541687f4beff2ff7ea4182851427cd59ca979146 (patch)
tree613a4c94255921bdafbab1673e3fee520dfcfa9e /clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
parent9654367cbcad81a91041d0f962dd40480e5179fc (diff)
downloadbcm5719-llvm-541687f4beff2ff7ea4182851427cd59ca979146.tar.gz
bcm5719-llvm-541687f4beff2ff7ea4182851427cd59ca979146.zip
Remove unused fun.
llvm-svn: 150172
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
index 7edc50d42f2..08c0b1cde14 100644
--- a/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud