mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #1677: Unused variable warning in Non-Windows
This commit is contained in:
parent
29feb1ffca
commit
035997f1a3
1 changed files with 4 additions and 1 deletions
|
@ -36,8 +36,11 @@ static int
|
|||
my_fgets(char *buf, int len, FILE *fp)
|
||||
{
|
||||
char *p;
|
||||
int i;
|
||||
int err;
|
||||
#ifdef MS_WINDOWS
|
||||
int i;
|
||||
#endif
|
||||
|
||||
while (1) {
|
||||
if (PyOS_InputHook != NULL)
|
||||
(void)(PyOS_InputHook)();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue