summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h
index d20fe8bd5..46b5040c2 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -2017,7 +2017,7 @@ public:
class ElementSegment : public Named {
public:
Name table;
- Expression* offset;
+ Expression* offset = nullptr;
Type type = Type(HeapType::func, Nullable);
std::vector<Expression*> data;