From 0ff8818a23db02eba7202aa373ddaeb3ddbf5280 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 23 Mar 2011 04:03:30 +0000 Subject: [PATCH] remove a dead variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128141 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/DeclBase.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp index 11d28df4be..0e871ecc4c 100644 --- a/lib/AST/DeclBase.cpp +++ b/lib/AST/DeclBase.cpp @@ -377,7 +377,6 @@ bool Decl::isWeakImported() const { if (!canBeWeakImported(IsDefinition)) return false; - ASTContext &Context = getASTContext(); for (attr_iterator A = attr_begin(), AEnd = attr_end(); A != AEnd; ++A) { if (isa(*A)) return true; -- 2.50.1