Fix unused variable warning in release builds. NFC.
authorDiego Novillo <dnovillo@google.com>
Thu, 17 Dec 2015 14:58:34 +0000 (14:58 +0000)
committerDiego Novillo <dnovillo@google.com>
Thu, 17 Dec 2015 14:58:34 +0000 (14:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255897 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp

index c6977bb..9d6f427 100644 (file)
@@ -77,9 +77,7 @@ unsigned WebAssemblyMCCodeEmitter::getMachineOpValue(
 
   assert(MO.isExpr());
 
 
   assert(MO.isExpr());
 
-  const MCExpr *Expr = MO.getExpr();
-
-  assert(Expr->getKind() == MCExpr::SymbolRef);
+  assert(MO.getExpr()->getKind() == MCExpr::SymbolRef);
 
   assert(false && "FIXME: not implemented yet");
 
 
   assert(false && "FIXME: not implemented yet");