* indent.c (compute_motion): Remove unused local.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 31 Jul 2012 05:07:03 +0000 (22:07 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 31 Jul 2012 05:07:03 +0000 (22:07 -0700)
src/ChangeLog
src/indent.c

index 300894a..b22f12a 100644 (file)
@@ -1,3 +1,7 @@
+2012-07-31  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * indent.c (compute_motion): Remove unused local.
+
 2012-07-31  Glenn Morris  <rgm@gnu.org>
 
        * conf_post.h [DARWIN_OS]: Move remaining contents of s/darwin.h here.
index ec0977d..38772bb 100644 (file)
@@ -1136,7 +1136,6 @@ compute_motion (ptrdiff_t from, EMACS_INT fromvpos, EMACS_INT fromhpos, int did_
   ptrdiff_t width_run_end   = from;
   ptrdiff_t width_run_width = 0;
   Lisp_Object *width_table;
-  Lisp_Object buffer;
 
   /* The next buffer pos where we should consult the width run cache. */
   ptrdiff_t next_width_run = from;
@@ -1156,7 +1155,6 @@ compute_motion (ptrdiff_t from, EMACS_INT fromvpos, EMACS_INT fromhpos, int did_
 
   struct composition_it cmp_it;
 
-  XSETBUFFER (buffer, current_buffer);
   XSETWINDOW (window, win);
 
   width_run_cache_on_off ();