diff options
author | Matthew Hoops | 2009-12-30 07:00:16 +0000 |
---|---|---|
committer | Matthew Hoops | 2009-12-30 07:00:16 +0000 |
commit | 516495a4a1a66e907257e8545dd668a1613d61f2 (patch) | |
tree | 3f13eb12d3937c02bfe1e05ae61916ecfd2fa7b6 /engines/mohawk/myst_scripts.cpp | |
parent | 2576f4b0bdff2bcff5f8667780c1254b3f2d84a2 (diff) | |
download | scummvm-rg350-516495a4a1a66e907257e8545dd668a1613d61f2.tar.gz scummvm-rg350-516495a4a1a66e907257e8545dd668a1613d61f2.tar.bz2 scummvm-rg350-516495a4a1a66e907257e8545dd668a1613d61f2.zip |
Silence some warnings seen in the buildbot.
svn-id: r46733
Diffstat (limited to 'engines/mohawk/myst_scripts.cpp')
-rw-r--r-- | engines/mohawk/myst_scripts.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/mohawk/myst_scripts.cpp b/engines/mohawk/myst_scripts.cpp index 7c61bfe3c4..51e961bbbd 100644 --- a/engines/mohawk/myst_scripts.cpp +++ b/engines/mohawk/myst_scripts.cpp @@ -743,7 +743,7 @@ void MystScriptParser::opcode_28(uint16 op, uint16 var, uint16 argc, uint16 *arg // TODO: Need to fix VIEW logic so this doesn't need // calculation at this level. - uint16 imageToDraw; + uint16 imageToDraw = 0; if (_vm->_view.conditionalImageCount == 0) imageToDraw = _vm->_view.mainImage; else { @@ -1088,8 +1088,8 @@ void MystScriptParser::opcode_41(uint16 op, uint16 var, uint16 argc, uint16 *arg uint16 u2 = argv[9]; Common::Rect region2; - uint16 updateDirection2; - uint16 u3; + uint16 updateDirection2 = 0; + uint16 u3 = 0; if (argc == 16) { region2 = Common::Rect(argv[10], argv[11], argv[12], argv[13]); updateDirection2 = argv[14]; @@ -1186,8 +1186,8 @@ void MystScriptParser::opcode_42(uint16 op, uint16 var, uint16 argc, uint16 *arg uint16 u2 = argv[8]; Common::Rect region2; - uint16 updateDirection2; - uint16 u3; + uint16 updateDirection2 = 0; + uint16 u3 = 0; if (argc == 15) { region2 = Common::Rect(argv[9], argv[10], argv[11], argv[12]); updateDirection2 = argv[13]; |