[llvm] r201442 - DwarfUnit: Remove unnecessary (void)t; that was previously used to suppress -Wunused-member-variable

David Blaikie dblaikie at gmail.com
Fri Feb 14 14:47:55 PST 2014


Author: dblaikie
Date: Fri Feb 14 16:47:55 2014
New Revision: 201442

URL: http://llvm.org/viewvc/llvm-project?rev=201442&view=rev
Log:
DwarfUnit: Remove unnecessary (void)t; that was previously used to suppress -Wunused-member-variable

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp?rev=201442&r1=201441&r2=201442&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfUnit.cpp Fri Feb 14 16:47:55 2014
@@ -58,7 +58,6 @@ DwarfCompileUnit::DwarfCompileUnit(unsig
 DwarfTypeUnit::DwarfTypeUnit(unsigned UID, DIE *D, DwarfCompileUnit &CU,
                              AsmPrinter *A, DwarfDebug *DW, DwarfFile *DWU)
     : DwarfUnit(UID, D, CU.getCUNode(), A, DW, DWU), CU(CU) {
-  (void)CU;
 }
 
 /// ~Unit - Destructor for compile unit.





More information about the llvm-commits mailing list