Skip to content

Commit 06cbe01

Browse files
[NFC] Fix unused variable warning (#6624)
1 parent 772e572 commit 06cbe01

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tools/wasm-shell.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,7 @@ struct Shell {
204204
}
205205

206206
ActionResult doAction(Action& act) {
207-
ModuleRunner* instance = instances[lastModule].get();
208-
assert(instance);
207+
assert(instances[lastModule].get());
209208
if (auto* invoke = std::get_if<InvokeAction>(&act)) {
210209
auto it = instances.find(invoke->base ? *invoke->base : lastModule);
211210
if (it == instances.end()) {

0 commit comments

Comments
 (0)