[llvm] r194980 - Remove redundant explicit default initialization.
David Blaikie
dblaikie at gmail.com
Sun Nov 17 13:57:33 PST 2013
Author: dblaikie
Date: Sun Nov 17 15:57:33 2013
New Revision: 194980
URL: http://llvm.org/viewvc/llvm-project?rev=194980&view=rev
Log:
Remove redundant explicit default initialization.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp?rev=194980&r1=194979&r2=194980&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp Sun Nov 17 15:57:33 2013
@@ -602,8 +602,8 @@ void CompileUnit::addBlockByrefAddress(c
// Find the __forwarding field and the variable field in the __Block_byref
// struct.
DIArray Fields = blockStruct.getTypeArray();
- DIDescriptor varField = DIDescriptor();
- DIDescriptor forwardingField = DIDescriptor();
+ DIDescriptor varField;
+ DIDescriptor forwardingField;
for (unsigned i = 0, N = Fields.getNumElements(); i < N; ++i) {
DIDescriptor Element = Fields.getElement(i);
More information about the llvm-commits
mailing list