diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-05-12 16:35:00 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-05-12 16:35:00 +0000 |
commit | f1bfae5406fe152c13c191681e361233c2dcd4ac (patch) | |
tree | 36d659ab392fbc7b9040313c3731cb3c8b6abed1 /clang/lib | |
parent | 47b7dac220200dcf2c22fdb9f841544f1096882c (diff) | |
download | bcm5719-llvm-f1bfae5406fe152c13c191681e361233c2dcd4ac.tar.gz bcm5719-llvm-f1bfae5406fe152c13c191681e361233c2dcd4ac.zip |
Remove unused variable. Thanks to Dmitri Gribenko for noticing it.
llvm-svn: 156715
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Sema/SemaDeclAttr.cpp | 2 |
1 files changed, 0 insertions, 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<const AttributeList*, 4> attrs; for (const AttributeList* l = AttrList; l; l = l->getNext()) { ProcessDeclAttribute(*this, S, D, *l, NonInheritable, Inheritable); - attrs.push_back(l); } // GCC accepts |