[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Grep-devel] [PATCH] dfa: omit unused local
From: |
Paul Eggert |
Subject: |
[Grep-devel] [PATCH] dfa: omit unused local |
Date: |
Mon, 9 Jan 2017 16:31:48 -0800 |
* 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 <address@hidden>
+ 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Grep-devel] [PATCH] dfa: omit unused local,
Paul Eggert <=