Make sure we don't get a warning from this variable that is only used
authorReed Kotler <rkotler@mips.com>
Mon, 4 Nov 2013 22:42:17 +0000 (22:42 +0000)
committerReed Kotler <rkotler@mips.com>
Mon, 4 Nov 2013 22:42:17 +0000 (22:42 +0000)
when compiling with DEBUG.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194021 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsConstantIslandPass.cpp

index 97fe8893d39d492560017bfd0dcd8f5ad8bece95..8fb4538edf2f1458663c31ff60d181cf8ca83a60 100644 (file)
@@ -433,6 +433,7 @@ bool MipsConstantIslands::runOnMachineFunction(MachineFunction &mf) {
   // Iteratively place constant pool entries and fix up branches until there
   // is no change.
   unsigned NoCPIters = 0, NoBRIters = 0;
+  (void)NoBRIters;
   while (true) {
     DEBUG(dbgs() << "Beginning CP iteration #" << NoCPIters << '\n');
     bool CPChange = false;