[Scummvm-cvs-logs] SF.net SVN: scummvm:[53100] scummvm/trunk/engines/toon/picture.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sat Oct 9 13:27:26 CEST 2010


Revision: 53100
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53100&view=rev
Author:   eriktorbjorn
Date:     2010-10-09 11:27:25 +0000 (Sat, 09 Oct 2010)

Log Message:
-----------
TOON: Removed unnecessary "break"s (right after "return"s)

Modified Paths:
--------------
    scummvm/trunk/engines/toon/picture.cpp

Modified: scummvm/trunk/engines/toon/picture.cpp
===================================================================
--- scummvm/trunk/engines/toon/picture.cpp	2010-10-09 11:18:19 UTC (rev 53099)
+++ scummvm/trunk/engines/toon/picture.cpp	2010-10-09 11:27:25 UTC (rev 53100)
@@ -65,7 +65,6 @@
 			_palette = 0;
 		}
 		return true;
-		break;
 	}
 	case kCompSPCN: {
 		uint32 decSize = READ_LE_UINT32(fileData + 10);
@@ -89,7 +88,6 @@
 		// decompress the picture into our buffer
 		decompressSPCN(fileData + 16 + _paletteEntries * 3, _data, decSize);
 		return true;
-		break;
 	}
 	case kCompRNC1: {
 		Toon::RncDecoder rnc;
@@ -108,7 +106,6 @@
 
 		_height = 400;
 		return true;
-		break;
 	}
 	case kCompRNC2: {
 		Toon::RncDecoder rnc;
@@ -127,7 +124,6 @@
 
 		_height = 400;
 		return true;
-		break;
 	}
 	}
 	return false;


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