From: Paul Eggert Date: Wed, 2 Nov 2022 06:03:25 +0000 (-0700) Subject: Remove unused local in simple_search X-Git-Tag: emacs-29.0.90~1616^2~350 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=840b9eadd6a06c939980bb8b90d8402128ea8901;p=emacs.git Remove unused local in simple_search * src/search.c (simple_search): Remove unused local. --- 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)