projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a56789
)
Remove unused local in simple_search
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 2 Nov 2022 06:03:25 +0000
(23:03 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 2 Nov 2022 06:04:00 +0000
(23:04 -0700)
* src/search.c (simple_search): Remove unused local.
src/search.c
patch
|
blob
|
history
diff --git
a/src/search.c
b/src/search.c
index a7f958c362bdbe3149069bc0ad5938999e7d73ba..1c5831b6de7575922b6e6db93f154bb45fc7472b 100644
(file)
--- 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)