diff options
author | Jesus Cea <jcea@jcea.es> | 2012-07-03 11:07:58 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2012-07-03 11:07:58 (GMT) |
commit | d0f5f4827db59fb210adb1b50fd3a536ee7f20da (patch) | |
tree | 6961dd457346008aef9a199b9a94678a573e78bb /Parser | |
parent | 99ad1f1354249fe8593f2c7af9e3465dd9ea0248 (diff) | |
download | cpython-d0f5f4827db59fb210adb1b50fd3a536ee7f20da.zip cpython-d0f5f4827db59fb210adb1b50fd3a536ee7f20da.tar.gz cpython-d0f5f4827db59fb210adb1b50fd3a536ee7f20da.tar.bz2 |
Issue #1677: Unused variable warning in Non-Windows
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/myreadline.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Parser/myreadline.c b/Parser/myreadline.c index d7a6566..59db41a 100644 --- a/Parser/myreadline.c +++ b/Parser/myreadline.c @@ -40,7 +40,10 @@ static int my_fgets(char *buf, int len, FILE *fp) { char *p; +#ifdef MS_WINDOWS int i; +#endif + while (1) { if (PyOS_InputHook != NULL) (void)(PyOS_InputHook)(); |