summaryrefslogtreecommitdiff
path: root/src/s2wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s2wasm.h')
-rw-r--r--src/s2wasm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h
index 5801f2620..34afbef52 100644
--- a/src/s2wasm.h
+++ b/src/s2wasm.h
@@ -333,7 +333,7 @@ private:
}
void parseGlobl() {
- Name name = getStr();
+ (void)getStr();
skipWhitespace();
}
@@ -432,7 +432,7 @@ private:
if (assign.isNull() || assign.str[1] == 'd') { // discard
bstack.back()->list.push_back(curr);
} else if (assign.str[1] == 'p') { // push
- estack.push_back(curr);
+ push(curr);
} else { // set to a local
auto set = allocator.alloc<SetLocal>();
set->name = assign;