aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2011-03-15 11:08:50 -0700
committerPaul Eggert2011-03-15 11:08:50 -0700
commitded6f8f72e83259be778eae9411c1855ef3a0081 (patch)
treec4061f216ff4f1f2d27b66a8a46a57109f2c057e
parentdbd37a958fc17c793003ea95ad61ae51cff5ff45 (diff)
downloademacs-ded6f8f72e83259be778eae9411c1855ef3a0081.tar.gz
emacs-ded6f8f72e83259be778eae9411c1855ef3a0081.zip
* search.c (simple_search): Remove unused var.
-rw-r--r--src/ChangeLog2
-rw-r--r--src/search.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ba863ba5710..a74b15aea6f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-03-15 Paul Eggert <eggert@cs.ucla.edu> 12011-03-15 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * search.c (simple_search): Remove unused var.
4
3 * dired.c (compile_pattern): Move decl from here ... 5 * dired.c (compile_pattern): Move decl from here ...
4 * lisp.h: ... to here, so that it can be checked. 6 * lisp.h: ... to here, so that it can be checked.
5 (struct re_registers): New forward decl. 7 (struct re_registers): New forward decl.
diff --git a/src/search.c b/src/search.c
index dceff94da72..dbc82bdb3d9 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1554,7 +1554,6 @@ simple_search (EMACS_INT n, unsigned char *pat,
1554 1554
1555 while (this_len > 0) 1555 while (this_len > 0)
1556 { 1556 {
1557 int charlen;
1558 int pat_ch, buf_ch; 1557 int pat_ch, buf_ch;
1559 1558
1560 DEC_BOTH (this_pos, this_pos_byte); 1559 DEC_BOTH (this_pos, this_pos_byte);