summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-binary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
-rw-r--r--src/wasm/wasm-binary.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wasm/wasm-binary.cpp b/src/wasm/wasm-binary.cpp
index 7f43a22d9..8d0581312 100644
--- a/src/wasm/wasm-binary.cpp
+++ b/src/wasm/wasm-binary.cpp
@@ -816,10 +816,9 @@ void WasmBinaryBuilder::read() {
case BinaryConsts::Section::Element:
readTableElements();
break;
- case BinaryConsts::Section::Global: {
+ case BinaryConsts::Section::Global:
readGlobals();
break;
- }
case BinaryConsts::Section::Data:
readDataSegments();
break;