aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorPaul Eggert <[email protected]>2011-04-02 00:36:27 -0700
committerPaul Eggert <[email protected]>2011-04-02 00:36:27 -0700
commit328ab8e7b550b2d3ae188c0ddfb174db32b0387c (patch)
tree4c2788625ce0abb639dc80a5a48791bec00230e8 /src/buffer.c
parent6b043475f6e870c9abec0cc41761ecc2a6fb4b47 (diff)
* buffer.c (Fprevious_overlay_change): Remove var that is set
but not used.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c
index cdcd2ccecf..a0054e32d0 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -4047,7 +4047,6 @@ If there are no overlay boundaries from (point-min) to POS,
the value is (point-min). */)
(Lisp_Object pos)
{
- int noverlays;
EMACS_INT prevpos;
Lisp_Object *overlay_vec;
int len;
@@ -4065,8 +4064,8 @@ the value is (point-min). */)
/* Put all the overlays we want in a vector in overlay_vec.
Store the length in len.
prevpos gets the position of the previous change. */
- noverlays = overlays_at (XINT (pos), 1, &overlay_vec, &len,
- (EMACS_INT *) 0, &prevpos, 1);
+ overlays_at (XINT (pos), 1, &overlay_vec, &len,
+ (EMACS_INT *) 0, &prevpos, 1);
xfree (overlay_vec);
return make_number (prevpos);