mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 17:57:14 +00:00
fixed compile warning
svn-id: r6511
This commit is contained in:
parent
15531663d9
commit
a1dafe54a2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user