[Scummvm-cvs-logs] scummvm master -> aad048674b3d63c05742ce9091416ad5465cb541

dreammaster dreammaster at scummvm.org
Mon Mar 9 03:36:14 CET 2015


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
aad048674b MADS: Fix unused variable warning


Commit: aad048674b3d63c05742ce9091416ad5465cb541
    https://github.com/scummvm/scummvm/commit/aad048674b3d63c05742ce9091416ad5465cb541
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-03-08T22:34:40-04:00

Commit Message:
MADS: Fix unused variable warning

Changed paths:
    engines/mads/screen.cpp



diff --git a/engines/mads/screen.cpp b/engines/mads/screen.cpp
index 8db034c..6199da5 100644
--- a/engines/mads/screen.cpp
+++ b/engines/mads/screen.cpp
@@ -685,7 +685,6 @@ void ScreenSurface::panTransition(MSurface &newScreen, byte *palData, int entryS
 	int y1, y2;
 	int startX = 0;
 	int deltaX;
-	int sizeY;
 	int xAt;
 	int loopStart;
 //	uint32 baseTicks, currentTicks;
@@ -712,7 +711,7 @@ void ScreenSurface::panTransition(MSurface &newScreen, byte *palData, int entryS
 
 	y1 = 0;
 	y2 = size.y - 1;
-	sizeY = y2 - y1 + 1;
+//	sizeY = y2 - y1 + 1;
 
 	if (throughBlack == THROUGH_BLACK2)
 		swapForeground(palData, &paletteMap[0]);






More information about the Scummvm-git-logs mailing list