From cfb29dcb5199922e40e08b7cdc6502478782006c Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 22 Nov 2006 15:50:30 +0000 Subject: Fix MSVC2005 warnings. Please, review the changes. svn-id: r24760 --- engines/agos/vga_s1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/agos/vga_s1.cpp') diff --git a/engines/agos/vga_s1.cpp b/engines/agos/vga_s1.cpp index fb3a80f1e9..c467ca7632 100644 --- a/engines/agos/vga_s1.cpp +++ b/engines/agos/vga_s1.cpp @@ -60,8 +60,8 @@ void AGOSEngine::vc17_setPathfinderItem() { } void AGOSEngine::vc22_setPaletteNew() { - byte *offs, *palptr, *src; - uint16 a = 0, b, num, palSize; + byte *offs, *palptr = 0, *src; + uint16 a = 0, b, num = 1, palSize = 0; a = vcReadNextWord(); b = vcReadNextWord(); -- cgit v1.2.3