aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/archetype/statement.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/archetype/statement.h')
-rw-r--r--engines/glk/archetype/statement.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/glk/archetype/statement.h b/engines/glk/archetype/statement.h
index 62c2095797..14dff86c71 100644
--- a/engines/glk/archetype/statement.h
+++ b/engines/glk/archetype/statement.h
@@ -88,6 +88,10 @@ union StatementTypeData {
struct StatementType {
StatementKind _kind;
StatementTypeData _data;
+
+ StatementType() : _kind(COMPOUND) {
+ _data._compound.statements = nullptr;
+ }
};
struct CasePairType {