[PATCH] D11929: WebAssembly: NFC fix release build break, unused variable.

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


jfb created this revision.
jfb added subscribers: dblaikie, llvm-commits.
Herald added a subscriber: jfb.

Caused by D11914, pointed out by blaikie.

http://reviews.llvm.org/D11929

Files:
  lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp

Index: lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
===================================================================
--- lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
+++ lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
@@ -126,6 +126,7 @@
       auto Written =
           FP.convertToHexString(buf, /*hexDigits=*/0, /*upperCase=*/false,
                                 APFloat::rmNearestTiesToEven);
+      (void)Written;
       assert(Written != 0);
       assert(Written < BufBytes);
       OS << ' ' << buf;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11929.31769.patch
Type: text/x-patch
Size: 523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150811/2f7e39c2/attachment.bin>


More information about the llvm-commits mailing list