From: JF Bastien Date: Tue, 11 Aug 2015 04:52:24 +0000 (+0000) Subject: WebAssembly: NFC fix release build break, unused variable. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=624a11dc4f96e2ab9b8ca230fd230e2de69ffe48;p=oota-llvm.git WebAssembly: NFC fix release build break, unused variable. Summary: Caused by D11914, pointed out by blaikie. Subscribers: llvm-commits, jfb, dblaikie Differential Revision: http://reviews.llvm.org/D11929 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244570 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp b/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp index 1c24e445a92..a1c3350ed73 100644 --- a/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp +++ b/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp @@ -126,6 +126,7 @@ void WebAssemblyAsmPrinter::EmitInstruction(const MachineInstr *MI) { auto Written = FP.convertToHexString(buf, /*hexDigits=*/0, /*upperCase=*/false, APFloat::rmNearestTiesToEven); + (void)Written; assert(Written != 0); assert(Written < BufBytes); OS << ' ' << buf;