diff options
Diffstat (limited to 'src/ir/ExpressionManipulator.cpp')
-rw-r--r-- | src/ir/ExpressionManipulator.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ir/ExpressionManipulator.cpp b/src/ir/ExpressionManipulator.cpp index 20856808e..9232dddf2 100644 --- a/src/ir/ExpressionManipulator.cpp +++ b/src/ir/ExpressionManipulator.cpp @@ -55,10 +55,8 @@ flexibleCopy(Expression* original, Module& wasm, CustomCopier custom) { // for later operations. #define DELEGATE_START(id) \ copy = wasm.allocator.alloc<id>(); \ - auto* castOriginal = original->cast<id>(); \ - WASM_UNUSED(castOriginal); \ - auto* castCopy = copy->cast<id>(); \ - WASM_UNUSED(castCopy); + [[maybe_unused]] auto* castOriginal = original->cast<id>(); \ + [[maybe_unused]] auto* castCopy = copy->cast<id>(); // Handle each type of field, copying it appropriately. #define DELEGATE_FIELD_CHILD(id, field) \ |