summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-07-16 21:46:30 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-07-16 21:46:30 (GMT)
commit5ca125c7ce857abbf0ff4b47b60a1853b28759a1 (patch)
tree84d754ad8e3288b31db62a046c8f657df64f1281 /generic
parentdf203baa1f787de574237d71c3df4491edc0dae4 (diff)
downloadtcl-5ca125c7ce857abbf0ff4b47b60a1853b28759a1.zip
tcl-5ca125c7ce857abbf0ff4b47b60a1853b28759a1.tar.gz
tcl-5ca125c7ce857abbf0ff4b47b60a1853b28759a1.tar.bz2
Assert an equality test, not an assignment.
Diffstat (limited to 'generic')
-rw-r--r--generic/regc_nfa.c2
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;
}