From: Paul Eggert Date: Tue, 10 Jan 2017 00:30:41 +0000 (-0800) Subject: dfa: omit unused local X-Git-Tag: v1.0~6395 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=8d3c4933ccfae50a15bcb088161bfd33adcdbf6d;p=gnulib.git dfa: omit unused local * lib/dfa.c (build_state): Fix up recent change. --- 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])