[Scummvm-cvs-logs] SF.net SVN: scummvm:[41463] tools/branches/gsoc2009-gui/compress_kyra.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Jun 12 10:35:41 CEST 2009


Revision: 41463
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41463&view=rev
Author:   fingolfin
Date:     2009-06-12 08:35:41 +0000 (Fri, 12 Jun 2009)

Log Message:
-----------
Removed dead code

Modified Paths:
--------------
    tools/branches/gsoc2009-gui/compress_kyra.cpp

Modified: tools/branches/gsoc2009-gui/compress_kyra.cpp
===================================================================
--- tools/branches/gsoc2009-gui/compress_kyra.cpp	2009-06-12 08:00:26 UTC (rev 41462)
+++ tools/branches/gsoc2009-gui/compress_kyra.cpp	2009-06-12 08:35:41 UTC (rev 41463)
@@ -74,18 +74,6 @@
 	return 0;
 }
 
-static bool hasSuffix(const char *str, const char *suf) {
-	const int sufSize = strlen(suf);
-
-	int off = strlen(str);
-	if (off < sufSize)
-		return false;
-
-	off -= sufSize;
-
-	return (scumm_stricmp(&str[off], suf) == 0);
-}
-
 static void process(Filename *infile, Filename *outfile) {
 	PAKFile input, output;
 


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