diff options
Diffstat (limited to 'src/wasm-traversal.h')
-rw-r--r-- | src/wasm-traversal.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wasm-traversal.h b/src/wasm-traversal.h index 9573bc21a..32225fd3f 100644 --- a/src/wasm-traversal.h +++ b/src/wasm-traversal.h @@ -352,8 +352,7 @@ struct PostWalker : public Walker<SubType, VisitorType> { #define DELEGATE_START(id) \ self->pushTask(SubType::doVisit##id, currp); \ - auto* cast = curr->cast<id>(); \ - WASM_UNUSED(cast); + [[maybe_unused]] auto* cast = curr->cast<id>(); #define DELEGATE_GET_FIELD(id, field) cast->field |