From: Rafael Espindola Date: Sat, 12 May 2012 16:35:00 +0000 (+0000) Subject: Remove unused variable. Thanks to Dmitri Gribenko for noticing it. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=342dd43954958729b08ec74827bf3584b2731076;p=clang Remove unused variable. Thanks to Dmitri Gribenko for noticing it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156715 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index 93516501aa..de0e2d97b4 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/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