diff options
author | David Turner | 2011-01-23 22:52:15 +0000 |
---|---|---|
committer | David Turner | 2011-01-23 22:52:15 +0000 |
commit | 86513a19aad390c11eb060454bcc6a27822a94c1 (patch) | |
tree | 218f2ece97e8a7817f1e40dbfca19a34b12902af /engines/mohawk | |
parent | f7f42fba21583ed5733268dedcc04f28e26372c2 (diff) | |
download | scummvm-rg350-86513a19aad390c11eb060454bcc6a27822a94c1.tar.gz scummvm-rg350-86513a19aad390c11eb060454bcc6a27822a94c1.tar.bz2 scummvm-rg350-86513a19aad390c11eb060454bcc6a27822a94c1.zip |
MOHAWK: Fixed possible use of uninitialized variables in Myst Selenitic Age code.
svn-id: r55486
Diffstat (limited to 'engines/mohawk')
-rw-r--r-- | engines/mohawk/myst_stacks/selenitic.cpp | 4 |
1 files 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; |