diff options
author | md5 | 2011-02-28 22:23:32 +0200 |
---|---|---|
committer | md5 | 2011-02-28 22:23:32 +0200 |
commit | 7c10e4e3d8a5bb6b5c6455ee9c142bdf6381ae13 (patch) | |
tree | cc8721911e37aae1e0630b4f1f250ec301b25513 | |
parent | baa9cbf45c3b66faca1af3fc7bcff49dc02a63b8 (diff) | |
download | scummvm-rg350-7c10e4e3d8a5bb6b5c6455ee9c142bdf6381ae13.tar.gz scummvm-rg350-7c10e4e3d8a5bb6b5c6455ee9c142bdf6381ae13.tar.bz2 scummvm-rg350-7c10e4e3d8a5bb6b5c6455ee9c142bdf6381ae13.zip |
SWORD2: Silence an MSVC warning (false positive)
-rw-r--r-- | engines/sword2/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword2/animation.cpp b/engines/sword2/animation.cpp index c47b73ef83..8d1a9836f4 100644 --- a/engines/sword2/animation.cpp +++ b/engines/sword2/animation.cpp @@ -218,7 +218,7 @@ void MoviePlayer::drawTextObject(uint32 index, byte *screen, uint16 pitch) { uint16 height = text->_textSprite.h; // Resize text sprites for PSX version - byte *psxSpriteBuffer; + byte *psxSpriteBuffer = 0; if (Sword2Engine::isPsx()) { height *= 2; psxSpriteBuffer = (byte *)malloc(width * height); |