From: Neal Norwitz Date: Fri, 17 Mar 2006 05:44:46 +0000 (+0000) Subject: Get rid of compiler warning X-Git-Tag: v3.0a1~1501 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc85c92a85e08d39ea769a07a3dc2a3c83c21477;p=thirdparty%2FPython%2Fcpython.git Get rid of compiler warning --- diff --git a/Parser/parsetok.c b/Parser/parsetok.c index cb79fe486572..d877fc95aa5e 100644 --- a/Parser/parsetok.c +++ b/Parser/parsetok.c @@ -98,7 +98,6 @@ static char with_msg[] = static char as_msg[] = "%s:%d: Warning: 'as' will become a reserved keyword in Python 2.6\n"; -#endif static void warn(const char *msg, const char *filename, int lineno) @@ -107,6 +106,7 @@ warn(const char *msg, const char *filename, int lineno) filename = ""; PySys_WriteStderr(msg, filename, lineno); } +#endif static node * parsetok(struct tok_state *tok, grammar *g, int start, perrdetail *err_ret,