From 86513a19aad390c11eb060454bcc6a27822a94c1 Mon Sep 17 00:00:00 2001 From: David Turner Date: Sun, 23 Jan 2011 22:52:15 +0000 Subject: MOHAWK: Fixed possible use of uninitialized variables in Myst Selenitic Age code. svn-id: r55486 --- engines/mohawk/myst_stacks/selenitic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/mohawk/myst_stacks/selenitic.cpp b/engines/mohawk/myst_stacks/selenitic.cpp index 85654050a7..3e00d242be 100644 --- a/engines/mohawk/myst_stacks/selenitic.cpp +++ b/engines/mohawk/myst_stacks/selenitic.cpp @@ -972,8 +972,8 @@ void MystScriptParser_Selenitic::soundReceiverUpdateSound() { } uint16 MystScriptParser_Selenitic::soundReceiverCurrentSound(uint16 source, uint16 position) { - uint16 solution; - bool sourceEnabled; + uint16 solution = 0; + bool sourceEnabled = false; soundReceiverSolution(source, solution, sourceEnabled); uint16 soundIdGood = 0; -- cgit v1.2.3