From b44d36e97bedf8b37efc411651271a0bef585a0f Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 24 Sep 2019 21:34:30 -0700 Subject: GLK: ADRIFT: Convert overall game quit long jump to use contexts --- engines/glk/adrift/scprops.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/glk/adrift/scprops.cpp') diff --git a/engines/glk/adrift/scprops.cpp b/engines/glk/adrift/scprops.cpp index 0888173ed2..166f506f68 100644 --- a/engines/glk/adrift/scprops.cpp +++ b/engines/glk/adrift/scprops.cpp @@ -256,7 +256,7 @@ static sc_prop_noderef_t prop_find_child(sc_prop_noderef_t parent, sc_int type, /* See if this node has any children. */ if (parent->child_list) { sc_int index_; - sc_prop_noderef_t child; + sc_prop_noderef_t child = nullptr; /* Do the lookup based on name type. */ switch (type) { -- cgit v1.2.3