From 8d3c4933ccfae50a15bcb088161bfd33adcdbf6d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 9 Jan 2017 16:30:41 -0800 Subject: [PATCH] dfa: omit unused local * 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 ed9d3460a9..f0cd277302 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2017-01-09 Paul Eggert + 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 6896ed320a..e8cb6bb4e7 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.39.5