From edab25743e99161338bab334aa9a6863e7b3d621 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 6 Feb 2008 18:13:22 +0000 Subject: Silence MSVC warning about uninitialized variables svn-id: r30812 --- engines/parallaction/graphics.cpp | 4 ++-- 1 file 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; -- cgit v1.2.3