From aa14dc3b4ee4e458602f2adff0003340d70ec11d Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 16 Mar 2013 15:38:28 -0700 Subject: C89 compliance --- Python/future.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Python/future.c b/Python/future.c index 345efb2..8097814 100644 --- a/Python/future.c +++ b/Python/future.c @@ -59,6 +59,7 @@ static int future_parse(PyFutureFeatures *ff, mod_ty mod, const char *filename) { int i, done = 0, prev_line = 0; + stmt_ty first; if (!(mod->kind == Module_kind || mod->kind == Interactive_kind)) return 1; @@ -75,7 +76,7 @@ future_parse(PyFutureFeatures *ff, mod_ty mod, const char *filename) */ i = 0; - stmt_ty first = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i); + first = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i); if (first->kind == Expr_kind && first->v.Expr.value->kind == Str_kind) i++; -- cgit v0.12