]> Savannah Git Hosting - gnulib.git/commitdiff
dfa: omit unused local
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 10 Jan 2017 00:30:41 +0000 (16:30 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 10 Jan 2017 00:31:02 +0000 (16:31 -0800)
* lib/dfa.c (build_state): Fix up recent change.

ChangeLog
lib/dfa.c

index ed9d3460a9afbc584304cf000c37be988eee3170..f0cd277302e08807d796ac792718a694fb20ef1d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2017-01-09  Paul Eggert  <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.
index 6896ed320a7b607a3eeb460eeff13cd4a4dbf5d3..e8cb6bb4e71f2d2769c66bfc99ac2cf2f4bdbd46 100644 (file)
--- 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])