Discussion:
[PATCH] dfa: omit unused local
(too old to reply)
Paul Eggert
2017-01-10 00:31:48 UTC
Permalink
Raw Message
* lib/dfa.c (build_state): Fix up recent change.
---
ChangeLog | 3 +++
lib/dfa.c | 1 -
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index ed9d346..f0cd277 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2017-01-09 Paul Eggert <***@cs.ucla.edu>

+ dfa: omit unused local
+ * lib/dfa.c (build_state): Fix up recent change.
+
maint: remove stray .texi files
Although these were superseded by other files like
doc/posix-functions/ctime.texi, the old files were not removed.
diff --git a/lib/dfa.c b/lib/dfa.c
index 6896ed3..e8cb6bb 100644
--- a/lib/dfa.c
+++ b/lib/dfa.c
@@ -2889,7 +2889,6 @@ build_state (state_num s, struct dfa *d, unsigned char uc)
}

/* Set the transitions for each character in the label. */
- state_num maxstate = -1;
for (size_t i = 0; i < NOTCHAR; i++)
if (tstbit (i, &label))
switch (d->syntax.sbit[i])
--
2.9.3
Loading...