mirror of https://github.com/python/cpython
Issue #1667: Unused variable warning in Non-Windows
This commit is contained in:
parent
e5567ccc86
commit
263afe2fed
|
@ -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)();
|
||||
|
|
Loading…
Reference in New Issue