diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2016-03-28 16:08:34 +0300 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2016-03-28 21:40:26 +0300 |
commit | 4b019795697ddd33bd66089881b351f9f0549c78 (patch) | |
tree | b516df77fb44fdc848ee6b08ca6068d9ea736a0d /src/binaryen-shell.cpp | |
parent | 6f2d0dc9b17bfd7039418681bb34386c69aaed22 (diff) | |
download | binaryen-4b019795697ddd33bd66089881b351f9f0549c78.tar.gz binaryen-4b019795697ddd33bd66089881b351f9f0549c78.tar.bz2 binaryen-4b019795697ddd33bd66089881b351f9f0549c78.zip |
Clean up unused variables warnings:
src\binaryen-shell.cpp(262): warning C4101: 'x': unreferenced local variable
src\binaryen-shell.cpp(290): warning C4101: 'e': unreferenced local variable
src\binaryen-shell.cpp(310): warning C4101: 'e': unreferenced local variable
Diffstat (limited to 'src/binaryen-shell.cpp')
-rw-r--r-- | src/binaryen-shell.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/binaryen-shell.cpp b/src/binaryen-shell.cpp index 182c0dfd6..78ff91150 100644 --- a/src/binaryen-shell.cpp +++ b/src/binaryen-shell.cpp @@ -259,7 +259,7 @@ static void run_asserts(size_t* i, bool* checked, AllocatingModule* wasm, } try { instance->callExport(entry, arguments); - } catch (ExitException& x) { + } catch (ExitException&) { } } } @@ -287,7 +287,7 @@ static void run_asserts(size_t* i, bool* checked, AllocatingModule* wasm, throw ParseException(); }) ); - } catch (const ParseException& e) { + } catch (const ParseException&) { invalid = true; } if (!invalid) { @@ -307,7 +307,7 @@ static void run_asserts(size_t* i, bool* checked, AllocatingModule* wasm, try { Invocation invocation(*curr[1], instance, *builder->get()); result = invocation.invoke(); - } catch (const TrapException& e) { + } catch (const TrapException&) { trapped = true; } if (id == ASSERT_RETURN) { |