diff Python/ast.c @ 36224:1685dcd2f929 legacy-trunk

Fix icc warnings: shadowing local variables
author Neal Norwitz <nnorwitz@gmail.com>
date Sat, 07 Jan 2006 21:23:26 +0000
parents fe9bd21f27f2
children d3f4c467e439
line wrap: on
line diff
--- a/Python/ast.c	Sat Jan 07 21:21:16 2006 +0000
+++ b/Python/ast.c	Sat Jan 07 21:23:26 2006 +0000
@@ -252,7 +252,7 @@
                 if (!stmts)
 		    goto error;
                 if (num == 1) {
-		    stmt_ty s = ast_for_stmt(&c, n);
+		    s = ast_for_stmt(&c, n);
 		    if (!s)
 			goto error;
                     asdl_seq_SET(stmts, 0, s);
@@ -1092,7 +1092,6 @@
                 return NULL;
 
             for (j = 0; j < n_ifs; j++) {
-                expr_ty expression;
                 REQ(ch, gen_iter);
                 ch = CHILD(ch, 0);
                 REQ(ch, gen_if);