summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 049dc2e30..2e3a63105 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -913,7 +913,7 @@ public:
// set the type of a block if you already know it
void finalize(WasmType type_) {
- type = type;
+ type = type_;
}
// set the type of a block based on its contents. this scans the block, so it is not fast