Issue #1677: Unused variable warning in Non-Windows

This commit is contained in:
Jesus Cea 2012-07-03 13:07:58 +02:00
parent 99ad1f1354
commit d0f5f4827d

View file

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