From: Paul Eggert Date: Thu, 2 Aug 2012 08:47:07 +0000 (-0700) Subject: * xfaces.c (face_at_buffer_position): Remove unused local. X-Git-Tag: emacs-24.2.90~894 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c71f515666d0ac7e509fe3a5e7e266bc0f428785;p=emacs.git * xfaces.c (face_at_buffer_position): Remove unused local. --- diff --git a/src/ChangeLog b/src/ChangeLog index 1cd500b6053..f23865323c0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2012-08-02 Paul Eggert + * xfaces.c (face_at_buffer_position): Remove unused local. + Use C99-style 'extern inline' if available. * buffer.h (BUFFER_INLINE): * category.h (CATEGORY_INLINE): diff --git a/src/xfaces.c b/src/xfaces.c index b5eeca09210..e72670a1317 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -6036,7 +6036,6 @@ face_at_buffer_position (struct window *w, ptrdiff_t pos, Lisp_Object prop, position; ptrdiff_t i, noverlays; Lisp_Object *overlay_vec; - Lisp_Object frame; ptrdiff_t endpos; Lisp_Object propname = mouse ? Qmouse_face : Qface; Lisp_Object limit1, end; @@ -6046,7 +6045,6 @@ face_at_buffer_position (struct window *w, ptrdiff_t pos, to use the frame and buffer of W, but right now it doesn't. */ /* eassert (XBUFFER (w->buffer) == current_buffer); */ - XSETFRAME (frame, f); XSETFASTINT (position, pos); endpos = ZV;