From: George Burgess IV Date: Thu, 8 Mar 2018 02:15:12 +0000 (+0000) Subject: Fix an unused variable warning; NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=333877a41170884159a4e9d579f8cc2e4bf01f7b;p=clang Fix an unused variable warning; NFC git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326980 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/StaticAnalyzer/Core/ExprEngine.cpp b/lib/StaticAnalyzer/Core/ExprEngine.cpp index 0a63fed201..fba2624d82 100644 --- a/lib/StaticAnalyzer/Core/ExprEngine.cpp +++ b/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(D)) { + if (isa(D)) { // FIXME: proper support for bound declarations. // For now, let's just prevent crashing. return;