Issue #1667: Unused variable warning in Non-Windows

This commit is contained in:
Jesus Cea 2012-07-03 13:04:55 +02:00
parent e5567ccc86
commit 263afe2fed
1 changed files with 3 additions and 0 deletions

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