Fix an unused variable warning; NFC

llvm-svn: 326980
This commit is contained in:
George Burgess IV 2018-03-08 02:15:12 +00:00
parent d02f3e9673
commit e4f47b4c63
1 changed files with 1 additions and 1 deletions
clang/lib/StaticAnalyzer/Core

View 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;