diff options
author | Andrew Kurushin | 2005-09-30 18:51:08 +0000 |
---|---|---|
committer | Andrew Kurushin | 2005-09-30 18:51:08 +0000 |
commit | 2ff464214bcd39a3f8cf069e4a475a91a1ede92f (patch) | |
tree | ee1e876343bb34e23c2a1ab9d22cfdd9ae2e4364 | |
parent | 04d51b04027345fd38d1acbd2a0ea124d90ade62 (diff) | |
download | scummvm-rg350-2ff464214bcd39a3f8cf069e4a475a91a1ede92f.tar.gz scummvm-rg350-2ff464214bcd39a3f8cf069e4a475a91a1ede92f.tar.bz2 scummvm-rg350-2ff464214bcd39a3f8cf069e4a475a91a1ede92f.zip |
fix compile warning
svn-id: r18907
-rw-r--r-- | saga/saga.h | 2 | ||||
-rw-r--r-- | scumm/scumm.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/saga/saga.h b/saga/saga.h index c21bcc9670..41f37b55f2 100644 --- a/saga/saga.h +++ b/saga/saga.h @@ -572,7 +572,7 @@ public: return isSaveListFull() ? _saveFilesCount : _saveFilesCount + 1; } - bool _framesEsc; + int16 _framesEsc; uint32 _globalFlags; byte _ethicsPoints[5]; // TODO: Verify that this is large enough diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index ba6cf1affe..67aaa07d28 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -3029,7 +3029,7 @@ Engine *Engine_SCUMM_create(GameDetector *detector, OSystem *syst) { const char *name = g->name; char detectName[256], tempName[256], gameMD5[32+1]; uint8 md5sum[16]; - int substLastIndex; + int substLastIndex = 0; bool found = false; for (int method = 0; method < 5 && !found; method++) { |