From 840b9eadd6a06c939980bb8b90d8402128ea8901 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 1 Nov 2022 23:03:25 -0700 Subject: [PATCH] Remove unused local in simple_search * src/search.c (simple_search): Remove unused local. --- src/search.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/search.c b/src/search.c index a7f958c362b..1c5831b6de7 100644 --- a/src/search.c +++ b/src/search.c @@ -1558,7 +1558,6 @@ simple_search (EMACS_INT n, unsigned char *pat, while (1) { /* Try matching at position POS. */ - ptrdiff_t this_pos = pos; ptrdiff_t this_pos_byte = pos_byte; ptrdiff_t this_len = len; unsigned char *p = pat; @@ -1580,7 +1579,6 @@ simple_search (EMACS_INT n, unsigned char *pat, p += charlen; this_pos_byte += buf_charlen; - this_pos++; } if (this_len == 0) -- 2.39.2