[Scummvm-cvs-logs] SF.net SVN: scummvm: [28489] tools/branches/gsoc2007-toolsgui/ compress_scumm_bun.cpp

lightcast at users.sourceforge.net lightcast at users.sourceforge.net
Wed Aug 8 12:53:12 CEST 2007


Revision: 28489
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28489&view=rev
Author:   lightcast
Date:     2007-08-08 03:53:12 -0700 (Wed, 08 Aug 2007)

Log Message:
-----------
Remove unused variable.

Modified Paths:
--------------
    tools/branches/gsoc2007-toolsgui/compress_scumm_bun.cpp

Modified: tools/branches/gsoc2007-toolsgui/compress_scumm_bun.cpp
===================================================================
--- tools/branches/gsoc2007-toolsgui/compress_scumm_bun.cpp	2007-08-08 03:42:33 UTC (rev 28488)
+++ tools/branches/gsoc2007-toolsgui/compress_scumm_bun.cpp	2007-08-08 10:53:12 UTC (rev 28489)
@@ -1109,17 +1109,13 @@
 	char tmpPath[200];
 
 	uint32 tag;
-	int32 numFiles, offset, i;
+	int32 numFiles, offset;
+	int i = 1;
 
 	strcpy(inputFilename, argv[argc - 3]);
 	strcpy(inputDir, argv[argc - 2]);
 	strcpy(outputDir, argv[argc - 1]);
 
-	if (argc > 4) {
-		int result;
-		i = 1;
-	}
-
 	if (!strcmp(argv[i], "--mp3")) {
 		gCompMode = kMP3Mode;
 		i++;


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