From 2ff464214bcd39a3f8cf069e4a475a91a1ede92f Mon Sep 17 00:00:00 2001 From: Andrew Kurushin Date: Fri, 30 Sep 2005 18:51:08 +0000 Subject: fix compile warning svn-id: r18907 --- saga/saga.h | 2 +- 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++) { -- cgit v1.2.3