summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwalkingeyerobot <mitch@thefoley.net>2021-09-20 14:14:55 -0400
committerGitHub <noreply@github.com>2021-09-20 18:14:55 +0000
commitc95f5ade0b50b8373497297bbfbe606f685d8bc9 (patch)
treeeccb197650b9d9df0ba42b30dd7aff701da8367c /src
parent737c22d30798c491eea3b401b948b9327ac979de (diff)
downloadbinaryen-c95f5ade0b50b8373497297bbfbe606f685d8bc9.tar.gz
binaryen-c95f5ade0b50b8373497297bbfbe606f685d8bc9.tar.bz2
binaryen-c95f5ade0b50b8373497297bbfbe606f685d8bc9.zip
Fix an unused variable warning. NFC (#4170)
Diffstat (limited to 'src')
-rw-r--r--src/passes/Inlining.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/passes/Inlining.cpp b/src/passes/Inlining.cpp
index 18b3d562a..a409bce8a 100644
--- a/src/passes/Inlining.cpp
+++ b/src/passes/Inlining.cpp
@@ -461,6 +461,7 @@ struct FunctionSplitter {
Function* getInlineableSplitFunction(Function* func) {
Function* inlineable = nullptr;
auto success = maybeSplit(func, &inlineable);
+ WASM_UNUSED(success);
assert(success && inlineable);
return inlineable;
}