1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00

Remove unused local in simple_search

* src/search.c (simple_search): Remove unused local.
This commit is contained in:
Paul Eggert 2022-11-01 23:03:25 -07:00
parent 8a5678906f
commit 840b9eadd6

View File

@ -1558,7 +1558,6 @@ simple_search (EMACS_INT n, unsigned char *pat,
while (1) while (1)
{ {
/* Try matching at position POS. */ /* Try matching at position POS. */
ptrdiff_t this_pos = pos;
ptrdiff_t this_pos_byte = pos_byte; ptrdiff_t this_pos_byte = pos_byte;
ptrdiff_t this_len = len; ptrdiff_t this_len = len;
unsigned char *p = pat; unsigned char *p = pat;
@ -1580,7 +1579,6 @@ simple_search (EMACS_INT n, unsigned char *pat,
p += charlen; p += charlen;
this_pos_byte += buf_charlen; this_pos_byte += buf_charlen;
this_pos++;
} }
if (this_len == 0) if (this_len == 0)