Skip to content

Commit aa14dc3

Browse files
committed
C89 compliance
1 parent 2d6acd2 commit aa14dc3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Python/future.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ static int
5959
future_parse(PyFutureFeatures *ff, mod_ty mod, const char *filename)
6060
{
6161
int i, done = 0, prev_line = 0;
62+
stmt_ty first;
6263

6364
if (!(mod->kind == Module_kind || mod->kind == Interactive_kind))
6465
return 1;
@@ -75,7 +76,7 @@ future_parse(PyFutureFeatures *ff, mod_ty mod, const char *filename)
7576
*/
7677

7778
i = 0;
78-
stmt_ty first = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i);
79+
first = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i);
7980
if (first->kind == Expr_kind && first->v.Expr.value->kind == Str_kind)
8081
i++;
8182

0 commit comments

Comments
 (0)