diff options
author | dgp <dgp@users.sourceforge.net> | 2014-07-16 21:48:18 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-07-16 21:48:18 (GMT) |
commit | b1b840179e012581ad23d865565f2d121306e2b4 (patch) | |
tree | 5ff308b5d4e0e200f175572498a2c076890c7a3a /generic | |
parent | 7fd0e62dc493b5523e14818c9d424b1c5ef91d3e (diff) | |
parent | 5ca125c7ce857abbf0ff4b47b60a1853b28759a1 (diff) | |
download | tcl-b1b840179e012581ad23d865565f2d121306e2b4.zip tcl-b1b840179e012581ad23d865565f2d121306e2b4.tar.gz tcl-b1b840179e012581ad23d865565f2d121306e2b4.tar.bz2 |
Assert an equality test, not an assignment
Diffstat (limited to 'generic')
-rw-r--r-- | generic/regc_nfa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/regc_nfa.c b/generic/regc_nfa.c index 42489dd..1f0583e 100644 --- a/generic/regc_nfa.c +++ b/generic/regc_nfa.c @@ -1345,7 +1345,7 @@ fixempties( for (s = nfa->states; s != NULL && !NISERR(); s = nexts) { nexts = s->next; /* Ensure tmp fields are clear for next step */ - assert(s->tmp = NULL); + assert(s->tmp == NULL); if (s->flag || s->nins != 1) { continue; } |