Skip to content

Commit

Permalink
C89 compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminp committed Mar 16, 2013
1 parent 2d6acd2 commit aa14dc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Python/future.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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++;

Expand Down

0 comments on commit aa14dc3

Please sign in to comment.