aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-04-02 00:36:27 -0700
committerPaul Eggert2011-04-02 00:36:27 -0700
commit328ab8e7b550b2d3ae188c0ddfb174db32b0387c (patch)
tree4c2788625ce0abb639dc80a5a48791bec00230e8 /src
parent6b043475f6e870c9abec0cc41761ecc2a6fb4b47 (diff)
downloademacs-328ab8e7b550b2d3ae188c0ddfb174db32b0387c.tar.gz
emacs-328ab8e7b550b2d3ae188c0ddfb174db32b0387c.zip
* buffer.c (Fprevious_overlay_change): Remove var that is set
but not used.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/buffer.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 15ad975eff5..a470962d74d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12011-04-02 Paul Eggert <eggert@cs.ucla.edu> 12011-04-02 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * buffer.c (Fprevious_overlay_change): Remove var that is set
4 but not used.
5
3 * keyboard.c (menu_bar_items, read_char_minibuf_menu_prompt): 6 * keyboard.c (menu_bar_items, read_char_minibuf_menu_prompt):
4 Remove vars that are set but not used. 7 Remove vars that are set but not used.
5 (timer_check_2): Don't assume timer-list and idle-timer-list are lists. 8 (timer_check_2): Don't assume timer-list and idle-timer-list are lists.
diff --git a/src/buffer.c b/src/buffer.c
index cdcd2ccecff..a0054e32d0a 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -4047,7 +4047,6 @@ If there are no overlay boundaries from (point-min) to POS,
4047the value is (point-min). */) 4047the value is (point-min). */)
4048 (Lisp_Object pos) 4048 (Lisp_Object pos)
4049{ 4049{
4050 int noverlays;
4051 EMACS_INT prevpos; 4050 EMACS_INT prevpos;
4052 Lisp_Object *overlay_vec; 4051 Lisp_Object *overlay_vec;
4053 int len; 4052 int len;
@@ -4065,8 +4064,8 @@ the value is (point-min). */)
4065 /* Put all the overlays we want in a vector in overlay_vec. 4064 /* Put all the overlays we want in a vector in overlay_vec.
4066 Store the length in len. 4065 Store the length in len.
4067 prevpos gets the position of the previous change. */ 4066 prevpos gets the position of the previous change. */
4068 noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len, 4067 overlays_at (XINT (pos), 1, &overlay_vec, &len,
4069 (EMACS_INT *) 0, &prevpos, 1); 4068 (EMACS_INT *) 0, &prevpos, 1);
4070 4069
4071 xfree (overlay_vec); 4070 xfree (overlay_vec);
4072 return make_number (prevpos); 4071 return make_number (prevpos);