summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2018-03-08 02:15:12 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2018-03-08 02:15:12 +0000
commite4f47b4c63dd99508410087f5b6643f3e668ed23 (patch)
tree2ea15502bc60e37081ccea73b3d37a19fa20db2e
parentd02f3e96736ed9b9b4fbc60d1fd377b009a8819c (diff)
downloadbcm5719-llvm-e4f47b4c63dd99508410087f5b6643f3e668ed23.tar.gz
bcm5719-llvm-e4f47b4c63dd99508410087f5b6643f3e668ed23.zip
Fix an unused variable warning; NFC
llvm-svn: 326980
-rw-r--r--clang/lib/StaticAnalyzer/Core/ExprEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
index 0a63fed2012..fba2624d828 100644
--- a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
+++ b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
@@ -2466,7 +2466,7 @@ void ExprEngine::VisitCommonDeclRefExpr(const Expr *Ex, const NamedDecl *D,
ProgramPoint::PostLValueKind);
return;
}
- if (const auto* BD = dyn_cast<BindingDecl>(D)) {
+ if (isa<BindingDecl>(D)) {
// FIXME: proper support for bound declarations.
// For now, let's just prevent crashing.
return;
OpenPOWER on IntegriCloud