close
Skip to content

Commit 035997f

Browse files
committed
Issue #1677: Unused variable warning in Non-Windows
1 parent 29feb1f commit 035997f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎Parser/myreadline.c‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ static int
3636
my_fgets(char *buf, int len, FILE *fp)
3737
{
3838
char *p;
39-
int i;
4039
int err;
40+
#ifdef MS_WINDOWS
41+
int i;
42+
#endif
43+
4144
while (1) {
4245
if (PyOS_InputHook != NULL)
4346
(void)(PyOS_InputHook)();

0 commit comments

Comments
 (0)