mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Issue #1677: Unused variable warning in Non-Windows
This commit is contained in:
parent
99ad1f1354
commit
d0f5f4827d
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue