From 59542c98459771905ef25c5fe48079f3353d6869 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 8 Jun 2016 21:31:37 -0700 Subject: use WASM_UNUSED in some places to fix compiler warning/error on unused variables we only use in asserts (#579) --- src/tools/binaryen-shell.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tools/binaryen-shell.cpp') diff --git a/src/tools/binaryen-shell.cpp b/src/tools/binaryen-shell.cpp index 96f506934..ebc0138ee 100644 --- a/src/tools/binaryen-shell.cpp +++ b/src/tools/binaryen-shell.cpp @@ -131,6 +131,7 @@ static void run_asserts(size_t* i, bool* checked, Module* wasm, // an invoke test assert(wasm); bool trapped = false; + WASM_UNUSED(trapped); Literal result; try { Invocation invocation(*curr[1], instance.get(), *builder->get()); -- cgit v1.2.3