changeset 34966:23a62cf7d0eb

(shrink_regexp_cache): Remove unused variable `cpp'. (trivial_regexp_p): Remove unused variable `c'. (boyer_moore): Remove unused variable `k'.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 02 Jan 2001 14:04:56 +0000
parents 0b32632273e8
children 78e2d17df950
files src/search.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c	Tue Jan 02 14:04:12 2001 +0000
+++ b/src/search.c	Tue Jan 02 14:04:56 2001 +0000
@@ -180,7 +180,7 @@
 void
 shrink_regexp_cache ()
 {
-  struct regexp_cache *cp, **cpp;
+  struct regexp_cache *cp;
 
   for (cp = searchbuf_head; cp != 0; cp = cp->next)
     {
@@ -949,7 +949,6 @@
 {
   int len = STRING_BYTES (XSTRING (regexp));
   unsigned char *s = XSTRING (regexp)->data;
-  unsigned char c;
   while (--len >= 0)
     {
       switch (*s++)
@@ -1527,7 +1526,7 @@
 {
   int direction = ((n > 0) ? 1 : -1);
   register int dirlen;
-  int infinity, limit, k, stride_for_teases = 0;
+  int infinity, limit, stride_for_teases = 0;
   register int *BM_tab;
   int *BM_tab_base;
   register unsigned char *cursor, *p_limit;