]> granicus.if.org Git - llvm/commitdiff
[WebAssembly] Add a cast to void to fix an unused private member warning, for now.
authorDan Gohman <dan433584@gmail.com>
Thu, 16 Feb 2017 15:21:37 +0000 (15:21 +0000)
committerDan Gohman <dan433584@gmail.com>
Thu, 16 Feb 2017 15:21:37 +0000 (15:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295327 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp

index ce832bee2af908fe3d81237263f75d1a1733726c..91583ef119ea296da5bd60afada715ae448a13c7 100644 (file)
@@ -48,7 +48,9 @@ class WebAssemblyMCCodeEmitter final : public MCCodeEmitter {
 
 public:
   WebAssemblyMCCodeEmitter(const MCInstrInfo &mcii, MCContext &ctx)
-      : MCII(mcii), Ctx(ctx) {}
+      : MCII(mcii), Ctx(ctx) {
+    (void)Ctx;
+  }
 };
 } // end anonymous namespace