summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-07-16 21:48:18 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-07-16 21:48:18 (GMT)
commitb1b840179e012581ad23d865565f2d121306e2b4 (patch)
tree5ff308b5d4e0e200f175572498a2c076890c7a3a /generic
parent7fd0e62dc493b5523e14818c9d424b1c5ef91d3e (diff)
parent5ca125c7ce857abbf0ff4b47b60a1853b28759a1 (diff)
downloadtcl-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.c2
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;
}