summaryrefslogtreecommitdiff
path: root/src/tools/wasm2asm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm2asm.cpp')
-rw-r--r--src/tools/wasm2asm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wasm2asm.cpp b/src/tools/wasm2asm.cpp
index 5c331f4c3..4198c8784 100644
--- a/src/tools/wasm2asm.cpp
+++ b/src/tools/wasm2asm.cpp
@@ -80,7 +80,7 @@ int main(int argc, const char *argv[]) {
} catch (ParseException& p) {
p.dump(std::cerr);
Fatal() << "error in parsing input";
- } catch (std::bad_alloc& b) {
+ } catch (std::bad_alloc&) {
Fatal() << "error in building module, std::bad_alloc (possibly invalid request for silly amounts of memory)";
}