summaryrefslogtreecommitdiff
path: root/Parser/pgen.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-08 01:10:34 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-08 01:10:34 +0000
commit056a2d6582acf2c7f661279ab7df2003cbad1315 (patch)
tree2f71e18d842ef5d635991e32171e10c5fdf7e5a7 /Parser/pgen.c
parentd948a43df88ffd2a6228286b9fe2586a609aee7a (diff)
downloadcpython-git-056a2d6582acf2c7f661279ab7df2003cbad1315.tar.gz
Fix icc warnings. This couldn't have been correct since i is checked
for 2 different values without changing. I think this was the intent. The unused warning only occurs when not building in debug mode.
Diffstat (limited to 'Parser/pgen.c')
-rw-r--r--Parser/pgen.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/Parser/pgen.c b/Parser/pgen.c
index e643d330b4..05534c743b 100644
--- a/Parser/pgen.c
+++ b/Parser/pgen.c
@@ -276,14 +276,11 @@ compile_item(labellist *ll, nfa *nf, node *n, int *pa, int *pb)
static void
compile_atom(labellist *ll, nfa *nf, node *n, int *pa, int *pb)
{
- int i;
-
REQ(n, ATOM);
- i = n->n_nchildren;
- REQN(i, 1);
+ REQN(n->n_nchildren, 1);
n = n->n_child;
if (n->n_type == LPAR) {
- REQN(i, 3);
+ REQN(n->n_nchildren, 3);
n++;
REQ(n, RHS);
compile_rhs(ll, nf, n, pa, pb);