diff options
Diffstat (limited to 'src/cfg/cfg-traversal.h')
-rw-r--r-- | src/cfg/cfg-traversal.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cfg/cfg-traversal.h b/src/cfg/cfg-traversal.h index 3a15143fe..344c6b8ba 100644 --- a/src/cfg/cfg-traversal.h +++ b/src/cfg/cfg-traversal.h @@ -268,7 +268,7 @@ struct CFGWalker : public ControlFlowWalker<SubType, VisitorType> { } // If this delegates to an outer try, we skip catches between this try // and the target try. - bool found = false; + [[maybe_unused]] bool found = false; for (int j = i - 1; j >= 0; j--) { if (self->unwindExprStack[j]->template cast<Try>()->name == tryy->delegateTarget) { @@ -277,7 +277,6 @@ struct CFGWalker : public ControlFlowWalker<SubType, VisitorType> { break; } } - WASM_UNUSED(found); assert(found); continue; } |