summaryrefslogtreecommitdiff
path: root/src/passes/Inlining.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Inlining.cpp')
-rw-r--r--src/passes/Inlining.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/passes/Inlining.cpp b/src/passes/Inlining.cpp
index 25993c7ec..c542d1018 100644
--- a/src/passes/Inlining.cpp
+++ b/src/passes/Inlining.cpp
@@ -506,8 +506,7 @@ struct FunctionSplitter {
// perform the splitting (if that has not already been done before).
Function* getInlineableSplitFunction(Function* func) {
Function* inlineable = nullptr;
- auto success = maybeSplit(func, &inlineable);
- WASM_UNUSED(success);
+ [[maybe_unused]] auto success = maybeSplit(func, &inlineable);
assert(success && inlineable);
return inlineable;
}