diff options
Diffstat (limited to 'generic/regc_nfa.c')
-rw-r--r-- | generic/regc_nfa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/regc_nfa.c b/generic/regc_nfa.c index 12a016e..d5e7e01 100644 --- a/generic/regc_nfa.c +++ b/generic/regc_nfa.c @@ -409,10 +409,10 @@ freearc( if (a == victim) { /* simple case: first in chain */ to->ins = victim->inchain; } else { - for (; a != NULL && a->inchain != victim; a = a->inchain) { + for (; a->inchain != victim; a = a->inchain) { + assert(a->inchain != NULL); continue; } - assert(a != NULL); a->inchain = victim->inchain; } to->nins--; |