[Python-checkins] r41959 - python/trunk/Parser/pgen.c
neal.norwitz
python-checkins at python.org
Sun Jan 8 02:10:35 CET 2006
Author: neal.norwitz
Date: Sun Jan 8 02:10:34 2006
New Revision: 41959
Modified:
python/trunk/Parser/pgen.c
Log:
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.
Modified: python/trunk/Parser/pgen.c
==============================================================================
--- python/trunk/Parser/pgen.c (original)
+++ python/trunk/Parser/pgen.c Sun Jan 8 02:10:34 2006
@@ -276,14 +276,11 @@
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);
More information about the Python-checkins
mailing list