Skip to content

Commit e862d5c

Browse files
authored
[NFC] Remove unused variables (#6475)
These were causing build failures on the Emscripten builder.
1 parent 365f12e commit e862d5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ir/branch-utils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ void operateOnScopeNameUsesAndSentValues(Expression* expr, T func) {
109109
func(name, sw->value);
110110
} else if (auto* br = expr->dynCast<BrOn>()) {
111111
func(name, br->ref);
112-
} else if (auto* tt = expr->dynCast<TryTable>()) {
112+
} else if (expr->is<TryTable>()) {
113113
// The values are supplied by throwing instructions, so we are unable to
114114
// know what they will be here.
115115
func(name, nullptr);
116-
} else if (auto* res = expr->dynCast<Resume>()) {
116+
} else if (expr->is<Resume>()) {
117117
// The values are supplied by suspend instructions executed while running
118118
// the continuation, so we are unable to know what they will be here.
119119
func(name, nullptr);

0 commit comments

Comments
 (0)