From 7591deefbda03cf2e7b703fbf18d53f8654ae288 Mon Sep 17 00:00:00 2001 From: Christoph Sommer Date: Sat, 3 Nov 2007 16:31:34 +0000 Subject: [PATCH] Avoid compiler warning SVN-Revision: 5177 --- src/squirrel/sqdbg/sqdbgserver.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/squirrel/sqdbg/sqdbgserver.h b/src/squirrel/sqdbg/sqdbgserver.h index 8c3fc2848..4d91192c7 100644 --- a/src/squirrel/sqdbg/sqdbgserver.h +++ b/src/squirrel/sqdbg/sqdbgserver.h @@ -33,7 +33,8 @@ typedef std::basic_string SQDBGString; 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); -- 2.11.0