diff options
Diffstat (limited to 'src/ir/properties.h')
-rw-r--r-- | src/ir/properties.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ir/properties.h b/src/ir/properties.h index bd0487d8f..2214eecaf 100644 --- a/src/ir/properties.h +++ b/src/ir/properties.h @@ -339,9 +339,7 @@ inline Index getNumChildren(Expression* curr) { #define DELEGATE_ID curr->_id -#define DELEGATE_START(id) \ - auto* cast = curr->cast<id>(); \ - WASM_UNUSED(cast); +#define DELEGATE_START(id) [[maybe_unused]] auto* cast = curr->cast<id>(); #define DELEGATE_GET_FIELD(id, field) cast->field |