diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm/wat-parser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm/wat-parser.cpp b/src/wasm/wat-parser.cpp index da87c56a7..aafb66019 100644 --- a/src/wasm/wat-parser.cpp +++ b/src/wasm/wat-parser.cpp @@ -988,6 +988,7 @@ Result<> parseModule(Module& wasm, std::string_view input) { if (auto name = decls.typeDefs[i].name; name.is()) { // TODO: struct field names bool inserted = wasm.typeNames.insert({types[i], {name, {}}}).second; + WASM_UNUSED(inserted); assert(inserted); } } |