diff options
author | Filippos Karapetis | 2008-02-06 18:13:22 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-02-06 18:13:22 +0000 |
commit | edab25743e99161338bab334aa9a6863e7b3d621 (patch) | |
tree | eed72743b8ae2f0504147462e7a70f111403f570 | |
parent | 509f2f6659de65f63aa85e8cb07840e02c4f84c2 (diff) | |
download | scummvm-rg350-edab25743e99161338bab334aa9a6863e7b3d621.tar.gz scummvm-rg350-edab25743e99161338bab334aa9a6863e7b3d621.tar.bz2 scummvm-rg350-edab25743e99161338bab334aa9a6863e7b3d621.zip |
Silence MSVC warning about uninitialized variables
svn-id: r30812
-rw-r--r-- | engines/parallaction/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index 3248113a5e..ad01dcd894 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -413,8 +413,8 @@ void Gfx::updateScreen() { uint w = MIN(_vm->_screenWidth, (int32)_backgroundInfo.width); uint h = MIN(_vm->_screenHeight, (int32)_backgroundInfo.height); - byte *backgroundData; - uint16 backgroundPitch; + byte *backgroundData = 0; + uint16 backgroundPitch = 0; switch (_varBackgroundMode) { case 1: backgroundData = (byte*)_backgroundInfo.bg.pixels; |