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
This commit is contained in:
Alexey Samsonov 2014-03-14 10:20:10 +00:00
parent d463c7e74e
commit b98e0c4da5

View File

@ -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) {