Issue #1677: Unused variable warning in Non-Windows

This commit is contained in:
Jesus Cea 2012-07-03 13:15:03 +02:00
parent 29feb1ffca
commit 035997f1a3

View file

@ -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)();