diff options
author | Max Horn | 2003-01-19 04:13:48 +0000 |
---|---|---|
committer | Max Horn | 2003-01-19 04:13:48 +0000 |
commit | a1dafe54a2f7e04fe479c6b86c32de894bec9bae (patch) | |
tree | 9eb5f7d3670907efd8edc8a67bf5c442d8e4af6f /scumm/smush | |
parent | 15531663d96a370418706ad0c609f9f764ade964 (diff) | |
download | scummvm-rg350-a1dafe54a2f7e04fe479c6b86c32de894bec9bae.tar.gz scummvm-rg350-a1dafe54a2f7e04fe479c6b86c32de894bec9bae.tar.bz2 scummvm-rg350-a1dafe54a2f7e04fe479c6b86c32de894bec9bae.zip |
fixed compile warning
svn-id: r6511
Diffstat (limited to 'scumm/smush')
-rw-r--r-- | scumm/smush/player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/smush/player.cpp b/scumm/smush/player.cpp index e954cc54c9..ccc764382e 100644 --- a/scumm/smush/player.cpp +++ b/scumm/smush/player.cpp @@ -440,7 +440,7 @@ void SmushPlayer::handleTextResource(Chunk & b) { /*int32 unk2 =*/ b.getWord(); const char * str; - char * string; + char * string = 0; if (g_scumm->_gameId == GID_CMI) { string = (char*)malloc(b.getSize() - 16); str = string; |