aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/archetype/linked_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/archetype/linked_list.h')
-rw-r--r--engines/glk/archetype/linked_list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/glk/archetype/linked_list.h b/engines/glk/archetype/linked_list.h
index 372de365b8..e0f4b08cd2 100644
--- a/engines/glk/archetype/linked_list.h
+++ b/engines/glk/archetype/linked_list.h
@@ -32,6 +32,8 @@ struct NodeType {
void *data;
int key;
NodeType *next;
+
+ NodeType() : data(nullptr), key(0), next(nullptr) {}
};
typedef NodeType *NodePtr;