[llvm] r244570 - WebAssembly: NFC fix release build break, unused variable.

JF Bastien via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 21:52:24 PDT 2015


Author: jfb
Date: Mon Aug 10 23:52:24 2015
New Revision: 244570

URL: http://llvm.org/viewvc/llvm-project?rev=244570&view=rev
Log:
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

Modified:
    llvm/trunk/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp

Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp?rev=244570&r1=244569&r2=244570&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp Mon Aug 10 23:52:24 2015
@@ -126,6 +126,7 @@ void WebAssemblyAsmPrinter::EmitInstruct
       auto Written =
           FP.convertToHexString(buf, /*hexDigits=*/0, /*upperCase=*/false,
                                 APFloat::rmNearestTiesToEven);
+      (void)Written;
       assert(Written != 0);
       assert(Written < BufBytes);
       OS << ' ' << buf;




More information about the llvm-commits mailing list