Silence MSVC warning about uninitialized variables

svn-id: r30812
This commit is contained in:
Filippos Karapetis 2008-02-06 18:13:22 +00:00
parent 509f2f6659
commit edab25743e

View File

@ -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;