changeset 34987:cf1115a9c758

(make_cursor_line_fully_visible): Remove unused variable `header_line_height'. (append_space, extend_face_to_end_of_line): Declare `saved_what' enum display_element_type.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 02 Jan 2001 14:24:29 +0000
parents 9af4ffb4d11a
children 8cd5e6ad71a2
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Tue Jan 02 14:23:43 2001 +0000
+++ b/src/xdisp.c	Tue Jan 02 14:24:29 2001 +0000
@@ -8760,7 +8760,7 @@
 {
   struct glyph_matrix *matrix;
   struct glyph_row *row;
-  int window_height, header_line_height;
+  int window_height;
   
   /* It's not always possible to find the cursor, e.g, when a window
      is full of overlay strings.  Don't do anything in that case.  */
@@ -11758,7 +11758,7 @@
 	     Must save IT->c and IT->len because otherwise
 	     ITERATOR_AT_END_P wouldn't work anymore after
 	     append_space has been called.  */
-	  int saved_what = it->what;
+	  enum display_element_type saved_what = it->what;
 	  int saved_c = it->c, saved_len = it->len;
 	  int saved_x = it->current_x;
 	  int saved_face_id = it->face_id;
@@ -11859,7 +11859,7 @@
       int saved_x = it->current_x;
       struct text_pos saved_pos;
       Lisp_Object saved_object;
-      int saved_what = it->what;
+      enum display_element_type saved_what = it->what;
       int saved_face_id = it->face_id;
 
       saved_object = it->object;