summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-06-30 12:37:32 -0700
committerGitHub <noreply@github.com>2022-06-30 12:37:32 -0700
commitdb6d7901fcc043d72c9957d4ebf101b6457b2623 (patch)
tree4dff63e17f9bef043f17a8d5d2b5160dac3f5fec
parentdde06039e7327351a27a574d37d64f289f420ab2 (diff)
downloadbinaryen-db6d7901fcc043d72c9957d4ebf101b6457b2623.tar.gz
binaryen-db6d7901fcc043d72c9957d4ebf101b6457b2623.tar.bz2
binaryen-db6d7901fcc043d72c9957d4ebf101b6457b2623.zip
Fix no-asserts compile warning (#4764)
-rw-r--r--src/ir/possible-contents.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir/possible-contents.cpp b/src/ir/possible-contents.cpp
index d10f2b4ac..8b95490b6 100644
--- a/src/ir/possible-contents.cpp
+++ b/src/ir/possible-contents.cpp
@@ -1327,6 +1327,7 @@ void Flower::flowAfterUpdate(LocationIndex locationIndex) {
// parent, and we need to do some special handling because of that child-
// parent connection.
auto* child = exprLoc->expr;
+ WASM_UNUSED(child);
auto parentIndex = iter->second;
auto* parent = std::get<ExpressionLocation>(getLocation(parentIndex)).expr;