From ba29378fdc8aa184c0d7fa08022790b7ec7d8acf Mon Sep 17 00:00:00 2001 From: Reed Kotler Date: Mon, 4 Nov 2013 22:42:17 +0000 Subject: Make sure we don't get a warning from this variable that is only used 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 | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/Target/Mips/MipsConstantIslandPass.cpp b/lib/Target/Mips/MipsConstantIslandPass.cpp index 97fe8893d3..8fb4538edf 100644 --- a/lib/Target/Mips/MipsConstantIslandPass.cpp +++ b/lib/Target/Mips/MipsConstantIslandPass.cpp @@ -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; -- cgit v1.2.3