aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorAndrew Kurushin2005-11-19 10:45:41 +0000
committerAndrew Kurushin2005-11-19 10:45:41 +0000
commit70fc8eff6545bbddf640876ada2f1ebc39e26e8a (patch)
treeae984f6e5613fba3e127cd833bc94ff393f9e308 /scumm
parentc0aca2f12e052812ef2e9afa30eadfd7855ce08d (diff)
downloadscummvm-rg350-70fc8eff6545bbddf640876ada2f1ebc39e26e8a.tar.gz
scummvm-rg350-70fc8eff6545bbddf640876ada2f1ebc39e26e8a.tar.bz2
scummvm-rg350-70fc8eff6545bbddf640876ada2f1ebc39e26e8a.zip
fix compile warning
svn-id: r19664
Diffstat (limited to 'scumm')
-rw-r--r--scumm/string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 6e107fd8f8..ee761bd63e 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -138,7 +138,7 @@ void ScummEngine_v7::clearSubtitleQueue() {
bool ScummEngine::handleNextCharsetCode(Actor *a, int *code) {
uint32 talk_sound_a = 0;
uint32 talk_sound_b = 0;
- int color, frme, c, oldy;
+ int color, frme, c = 0, oldy;
bool endLoop = false;
byte *buffer = _charsetBuffer + _charsetBufPos;
while (!endLoop) {
@@ -220,7 +220,7 @@ bool ScummEngine_v72he::handleNextCharsetCode(Actor *a, int *code) {
const int charsetCode = (_heversion >= 80) ? 127 : 64;
uint32 talk_sound_a = 0;
uint32 talk_sound_b = 0;
- int i, c;
+ int i, c = 0;
char value[32];
bool endLoop = false;
bool endText = false;