From f1bfae5406fe152c13c191681e361233c2dcd4ac Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sat, 12 May 2012 16:35:00 +0000 Subject: Remove unused variable. Thanks to Dmitri Gribenko for noticing it. llvm-svn: 156715 --- clang/lib/Sema/SemaDeclAttr.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp index 93516501aac..de0e2d97b4a 100644 --- a/clang/lib/Sema/SemaDeclAttr.cpp +++ b/clang/lib/Sema/SemaDeclAttr.cpp @@ -4023,10 +4023,8 @@ static void ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, void Sema::ProcessDeclAttributeList(Scope *S, Decl *D, const AttributeList *AttrList, bool NonInheritable, bool Inheritable) { - SmallVector attrs; for (const AttributeList* l = AttrList; l; l = l->getNext()) { ProcessDeclAttribute(*this, S, D, *l, NonInheritable, Inheritable); - attrs.push_back(l); } // GCC accepts -- cgit v1.2.3