From: Alexey Samsonov Date: Fri, 14 Mar 2014 10:20:10 +0000 (+0000) Subject: Use temporary instead of a local variable here X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b98e0c4da5fe463306b58fac00e9ba507c80f235;p=oota-llvm.git Use temporary instead of a local variable here git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203914 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/DebugInfo/DWARFAbbreviationDeclaration.cpp b/lib/DebugInfo/DWARFAbbreviationDeclaration.cpp index b9805af54fa..ebd5bef377e 100644 --- a/lib/DebugInfo/DWARFAbbreviationDeclaration.cpp +++ b/lib/DebugInfo/DWARFAbbreviationDeclaration.cpp @@ -51,8 +51,7 @@ DWARFAbbreviationDeclaration::extract(DataExtractor Data, uint32_t* OffsetPtr) { } if (Attr == 0 && Form == 0) break; - AttributeSpec AS = {Attr, Form}; - AttributeSpecs.push_back(AS); + AttributeSpecs.push_back(AttributeSpec{Attr, Form}); } if (Tag == 0) {