diff options
author | Jesus Cea <jcea@jcea.es> | 2012-07-03 11:15:03 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2012-07-03 11:15:03 (GMT) |
commit | 035997f1a3f2edd53a5f72cf381e5e9a12743a30 (patch) | |
tree | 97664e5d11c10026c7eea4cfca3a0f4ace3579e9 /Parser | |
parent | 29feb1ffcaa45335c33fc0a8bade83304b238744 (diff) | |
download | cpython-035997f1a3f2edd53a5f72cf381e5e9a12743a30.zip cpython-035997f1a3f2edd53a5f72cf381e5e9a12743a30.tar.gz cpython-035997f1a3f2edd53a5f72cf381e5e9a12743a30.tar.bz2 |
Issue #1677: Unused variable warning in Non-Windows
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/myreadline.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Parser/myreadline.c b/Parser/myreadline.c index f0b51f8..93edd7f 100644 --- a/Parser/myreadline.c +++ b/Parser/myreadline.c @@ -36,8 +36,11 @@ static int my_fgets(char *buf, int len, FILE *fp) { char *p; - int i; int err; +#ifdef MS_WINDOWS + int i; +#endif + while (1) { if (PyOS_InputHook != NULL) (void)(PyOS_InputHook)(); |