Kaydet (Commit) 035997f1 authored tarafından Jesus Cea's avatar Jesus Cea

Issue #1677: Unused variable warning in Non-Windows

üst 29feb1ff
...@@ -36,8 +36,11 @@ static int ...@@ -36,8 +36,11 @@ static int
my_fgets(char *buf, int len, FILE *fp) my_fgets(char *buf, int len, FILE *fp)
{ {
char *p; char *p;
int i;
int err; int err;
#ifdef MS_WINDOWS
int i;
#endif
while (1) { while (1) {
if (PyOS_InputHook != NULL) if (PyOS_InputHook != NULL)
(void)(PyOS_InputHook)(); (void)(PyOS_InputHook)();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment