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.
This commit is contained in:
parent
d948a43df8
commit
056a2d6582
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue