summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-07 21:23:26 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-07 21:23:26 (GMT)
commit406c640344b8a7300bb4a256abb91d22b746b13b (patch)
tree1019c2a7517379dd1383162679d04bf51af3b82a /Python
parent52ca0dd71221cc3302c37048cc83b856f028dbc2 (diff)
downloadcpython-406c640344b8a7300bb4a256abb91d22b746b13b.zip
cpython-406c640344b8a7300bb4a256abb91d22b746b13b.tar.gz
cpython-406c640344b8a7300bb4a256abb91d22b746b13b.tar.bz2
Fix icc warnings: shadowing local variables
Diffstat (limited to 'Python')
-rw-r--r--Python/ast.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/ast.c b/Python/ast.c
index 745cda2..bba599b 100644
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -252,7 +252,7 @@ PyAST_FromNode(const node *n, PyCompilerFlags *flags, const char *filename,
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 @@ ast_for_genexp(struct compiling *c, const node *n)
return NULL;
for (j = 0; j < n_ifs; j++) {
- expr_ty expression;
REQ(ch, gen_iter);
ch = CHILD(ch, 0);
REQ(ch, gen_if);