From: Christoph Sommer Date: Sat, 3 Nov 2007 16:31:34 +0000 (+0000) Subject: Avoid compiler warning X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7591deefbda03cf2e7b703fbf18d53f8654ae288;p=supertux.git Avoid compiler warning SVN-Revision: 5177 --- 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);