diff options
author | Filippos Karapetis | 2008-12-29 11:14:48 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-12-29 11:14:48 +0000 |
commit | 702848c17b15602c9ebdbee613482d6209ed0ba0 (patch) | |
tree | 759139eb3a22e20d7e4f737dae2392779be01334 /engines | |
parent | 927cd202e5b0c0d3134717a127e442926e012ffa (diff) | |
download | scummvm-rg350-702848c17b15602c9ebdbee613482d6209ed0ba0.tar.gz scummvm-rg350-702848c17b15602c9ebdbee613482d6209ed0ba0.tar.bz2 scummvm-rg350-702848c17b15602c9ebdbee613482d6209ed0ba0.zip |
Silenced MSVC warnings about uninitialized variables
svn-id: r35602
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/game_v2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/gob/game_v2.cpp b/engines/gob/game_v2.cpp index aa41fcf05d..ce145cd725 100644 --- a/engines/gob/game_v2.cpp +++ b/engines/gob/game_v2.cpp @@ -1147,8 +1147,8 @@ int16 Game_v2::multiEdit(int16 time, int16 index, int16 *pCurPos, int16 key; int16 found = -1; int16 i; - byte *fontExtraBak; - int16 needAdjust; + byte *fontExtraBak = 0; + int16 needAdjust = 0; descInd = 0; for (i = 0; i < 150; i++) { @@ -1357,8 +1357,8 @@ int16 Game_v2::inputArea(int16 xPos, int16 yPos, int16 width, int16 height, uint32 pos; int16 flag; int16 savedKey; - byte *fontExtraBak; - int16 needAdjust; + byte *fontExtraBak = 0; + int16 needAdjust = 0; if ((_handleMouse != 0) && ((_vm->_global->_useMouse != 0) || (_forceHandleMouse != 0))) |