From: Benjamin Peterson Date: Mon, 18 Mar 2013 17:59:41 +0000 (-0700) Subject: move declaration to top of block X-Git-Tag: v3.4.0a1~1178 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aad1d87339d1a310a58d71b812834ac9216a7e67;p=thirdparty%2FPython%2Fcpython.git move declaration to top of block --- diff --git a/Python/ast.c b/Python/ast.c index 2080e4991ae8..4d517b7b546b 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -1115,6 +1115,7 @@ ast_for_arg(struct compiling *c, const node *n) identifier name; expr_ty annotation = NULL; node *ch; + arg_ty tmp; assert(TYPE(n) == tfpdef || TYPE(n) == vfpdef); ch = CHILD(n, 0); @@ -1130,7 +1131,7 @@ ast_for_arg(struct compiling *c, const node *n) return NULL; } - arg_ty tmp = arg(name, annotation, c->c_arena); + tmp = arg(name, annotation, c->c_arena); if (!tmp) return NULL;