aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-03-23 04:03:30 +0000
committerChris Lattner <sabre@nondot.org>2011-03-23 04:03:30 +0000
commit0ff8818a23db02eba7202aa373ddaeb3ddbf5280 (patch)
tree3e195c7ed412b92e44da53c964e5b7e0ed26b8fc /lib
parent9d5a165d301cc9df68631e624322dd2a962f65b3 (diff)
remove a dead variable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128141 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/AST/DeclBase.cpp1
1 files changed, 0 insertions, 1 deletions
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<WeakImportAttr>(*A))
return true;