(x_insert_glyphs): Remove unused variables `real_end' and `real_start'.
authorPavel Janík <Pavel@Janik.cz>
Wed, 24 Oct 2001 10:29:11 +0000 (10:29 +0000)
committerPavel Janík <Pavel@Janik.cz>
Wed, 24 Oct 2001 10:29:11 +0000 (10:29 +0000)
(x_draw_image_foreground): Remove unused variables `mask' and `xgcv'.
(glyph_rect): Remove unused variable `area'.

src/ChangeLog
src/xterm.c

index 81b698e..4669e84 100644 (file)
@@ -1,3 +1,11 @@
+2001-10-24  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * xterm.c: (x_insert_glyphs): Remove unused variables `real_end'
+       and `real_start'.
+       (x_draw_image_foreground): Remove unused variables `mask' and
+       `xgcv'.
+       (glyph_rect): Remove unused variable `area'.
+
 2001-10-24  Gerd Moellmann  <gerd@gnu.org>
 
        * xdisp.c (try_window_reusing_current_matrix): Use
index 7a069a0..bd856f1 100644 (file)
@@ -4058,8 +4058,6 @@ x_draw_image_foreground (s)
        }
       else
        {
-         unsigned long mask = GCClipXOrigin | GCClipYOrigin | GCFunction;
-         XGCValues xgcv;
          XRectangle clip_rect, image_rect, r;
 
          x_get_glyph_string_clip_rect (s, &clip_rect);
@@ -5298,7 +5296,7 @@ x_insert_glyphs (start, len)
   int line_height, shift_by_width, shifted_region_width;
   struct glyph_row *row;
   struct glyph *glyph;
-  int frame_x, frame_y, hpos, real_start, real_end;
+  int frame_x, frame_y, hpos;
 
   xassert (updated_window && updated_row);
   BLOCK_INPUT;
@@ -7895,7 +7893,6 @@ glyph_rect (f, x, y, rect)
       struct window *w = XWINDOW (window);
       struct glyph_row *r = MATRIX_FIRST_TEXT_ROW (w->current_matrix);
       struct glyph_row *end = r + w->current_matrix->nrows - 1;
-      int area;
 
       frame_to_window_pixel_xy (w, &x, &y);