Fix an unused variable warning; NFC
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 8 Mar 2018 02:15:12 +0000 (02:15 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 8 Mar 2018 02:15:12 +0000 (02:15 +0000)
llvm-svn: 326980

clang/lib/StaticAnalyzer/Core/ExprEngine.cpp

index 0a63fed..fba2624 100644 (file)
@@ -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;