diff options
author | dgp <dgp@users.sourceforge.net> | 2014-07-16 21:46:30 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-07-16 21:46:30 (GMT) |
commit | 5ca125c7ce857abbf0ff4b47b60a1853b28759a1 (patch) | |
tree | 84d754ad8e3288b31db62a046c8f657df64f1281 | |
parent | df203baa1f787de574237d71c3df4491edc0dae4 (diff) | |
download | tcl-5ca125c7ce857abbf0ff4b47b60a1853b28759a1.zip tcl-5ca125c7ce857abbf0ff4b47b60a1853b28759a1.tar.gz tcl-5ca125c7ce857abbf0ff4b47b60a1853b28759a1.tar.bz2 |
Assert an equality test, not an assignment.
-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 2fc3a05..2de7e14 100644 --- a/generic/regc_nfa.c +++ b/generic/regc_nfa.c @@ -1332,7 +1332,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; } |