[Scummvm-cvs-logs] SF.net SVN: scummvm:[52496] scummvm/trunk/tools/create_hugo/create_hugo.cpp

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Thu Sep 2 14:52:05 CEST 2010


Revision: 52496
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52496&view=rev
Author:   strangerke
Date:     2010-09-02 12:52:03 +0000 (Thu, 02 Sep 2010)

Log Message:
-----------
TOOLS: Suppress some dead code reported by Cppcheck

Modified Paths:
--------------
    scummvm/trunk/tools/create_hugo/create_hugo.cpp

Modified: scummvm/trunk/tools/create_hugo/create_hugo.cpp
===================================================================
--- scummvm/trunk/tools/create_hugo/create_hugo.cpp	2010-09-02 12:50:10 UTC (rev 52495)
+++ scummvm/trunk/tools/create_hugo/create_hugo.cpp	2010-09-02 12:52:03 UTC (rev 52496)
@@ -79,11 +79,6 @@
 	int i;
 	int nbrElem, nbrSubElem;
 
-	uint8 padBuf[DATAALIGNMENT];
-
-	for (i = 0; i < DATAALIGNMENT; i++)
-		padBuf[i] = 0;
-
 	outFile = fopen("hugo.dat", "wb");
 
 	// Write header


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