[Scummvm-cvs-logs] SF.net SVN: scummvm:[48193] scummvm/trunk/graphics/scaler/downscaler.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Mar 8 11:32:05 CET 2010


Revision: 48193
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48193&view=rev
Author:   fingolfin
Date:     2010-03-08 10:32:05 +0000 (Mon, 08 Mar 2010)

Log Message:
-----------
Remove redundant code

Modified Paths:
--------------
    scummvm/trunk/graphics/scaler/downscaler.cpp

Modified: scummvm/trunk/graphics/scaler/downscaler.cpp
===================================================================
--- scummvm/trunk/graphics/scaler/downscaler.cpp	2010-03-08 10:31:42 UTC (rev 48192)
+++ scummvm/trunk/graphics/scaler/downscaler.cpp	2010-03-08 10:32:05 UTC (rev 48193)
@@ -85,9 +85,6 @@
 void DownscaleHorizByHalfTemplate(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
 	uint16 *work;
 
-	if (!height)
-		return;
-
 	// Various casts below go via (void *) to avoid warning. This is
 	// safe as these are all even addresses.
 	while (height--) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list