summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-07-03 11:07:58 (GMT)
committerJesus Cea <jcea@jcea.es>2012-07-03 11:07:58 (GMT)
commitd0f5f4827db59fb210adb1b50fd3a536ee7f20da (patch)
tree6961dd457346008aef9a199b9a94678a573e78bb /Parser
parent99ad1f1354249fe8593f2c7af9e3465dd9ea0248 (diff)
downloadcpython-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.c3
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)();