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)
|
my_fgets(char *buf, int len, FILE *fp)
|
||||||
{
|
{
|
||||||
char *p;
|
char *p;
|
||||||
|
#ifdef MS_WINDOWS
|
||||||
int i;
|
int i;
|
||||||
|
#endif
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
if (PyOS_InputHook != NULL)
|
if (PyOS_InputHook != NULL)
|
||||||
(void)(PyOS_InputHook)();
|
(void)(PyOS_InputHook)();
|
||||||
|
|
Loading…
Reference in New Issue