[Supertux-Commit] r5177 - trunk/supertux/src/squirrel/sqdbg

sommer at millhouse.dreamhost.com sommer at millhouse.dreamhost.com
Sat Nov 3 09:31:34 PDT 2007


Author: sommer
Date: 2007-11-03 09:31:34 -0700 (Sat, 03 Nov 2007)
New Revision: 5177

Modified:
   trunk/supertux/src/squirrel/sqdbg/sqdbgserver.h
Log:
Avoid compiler warning


Modified: trunk/supertux/src/squirrel/sqdbg/sqdbgserver.h
===================================================================
--- trunk/supertux/src/squirrel/sqdbg/sqdbgserver.h	2007-11-03 16:25:19 UTC (rev 5176)
+++ trunk/supertux/src/squirrel/sqdbg/sqdbgserver.h	2007-11-03 16:31:34 UTC (rev 5177)
@@ -33,7 +33,8 @@
 
 inline bool dbg_less(const SQChar *x,const SQChar *y)
 {
-	int n = 0;
+	// [SuperTux] commented out to avoid compiler warning
+	//int n = 0;
 	do {
 		int xl = *x == '\\' ? '/' : tolower(*x);
 		int yl = *y == '\\' ? '/' : tolower(*y);



More information about the Supertux-Commit mailing list