summaryrefslogtreecommitdiff
path: root/src/tools/wasm2c-wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm2c-wrapper.h')
-rw-r--r--src/tools/wasm2c-wrapper.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/wasm2c-wrapper.h b/src/tools/wasm2c-wrapper.h
index f44fc5ca0..984a9b53a 100644
--- a/src/tools/wasm2c-wrapper.h
+++ b/src/tools/wasm2c-wrapper.h
@@ -203,8 +203,7 @@ int main(int argc, char** argv) {
// Emit the parameters (all 0s, like the other wrappers).
bool first = true;
- for (const auto& param : func->getParams()) {
- WASM_UNUSED(param);
+ for ([[maybe_unused]] const auto& param : func->getParams()) {
if (!first) {
ret += ", ";
}