aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorPavel Janík2001-10-24 10:29:11 +0000
committerPavel Janík2001-10-24 10:29:11 +0000
commit2beb36f9bbf44dee72b571b475629009f2520225 (patch)
treef051e68d08b472aa6c1dd28f910543bc32c2e560 /src/xterm.c
parent036cb5a21639fa8d3c19542d28200acc41cdec89 (diff)
downloademacs-2beb36f9bbf44dee72b571b475629009f2520225.tar.gz
emacs-2beb36f9bbf44dee72b571b475629009f2520225.zip
(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'.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 7a069a01972..bd856f1fda7 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -4058,8 +4058,6 @@ x_draw_image_foreground (s)
4058 } 4058 }
4059 else 4059 else
4060 { 4060 {
4061 unsigned long mask = GCClipXOrigin | GCClipYOrigin | GCFunction;
4062 XGCValues xgcv;
4063 XRectangle clip_rect, image_rect, r; 4061 XRectangle clip_rect, image_rect, r;
4064 4062
4065 x_get_glyph_string_clip_rect (s, &clip_rect); 4063 x_get_glyph_string_clip_rect (s, &clip_rect);
@@ -5298,7 +5296,7 @@ x_insert_glyphs (start, len)
5298 int line_height, shift_by_width, shifted_region_width; 5296 int line_height, shift_by_width, shifted_region_width;
5299 struct glyph_row *row; 5297 struct glyph_row *row;
5300 struct glyph *glyph; 5298 struct glyph *glyph;
5301 int frame_x, frame_y, hpos, real_start, real_end; 5299 int frame_x, frame_y, hpos;
5302 5300
5303 xassert (updated_window && updated_row); 5301 xassert (updated_window && updated_row);
5304 BLOCK_INPUT; 5302 BLOCK_INPUT;
@@ -7895,7 +7893,6 @@ glyph_rect (f, x, y, rect)
7895 struct window *w = XWINDOW (window); 7893 struct window *w = XWINDOW (window);
7896 struct glyph_row *r = MATRIX_FIRST_TEXT_ROW (w->current_matrix); 7894 struct glyph_row *r = MATRIX_FIRST_TEXT_ROW (w->current_matrix);
7897 struct glyph_row *end = r + w->current_matrix->nrows - 1; 7895 struct glyph_row *end = r + w->current_matrix->nrows - 1;
7898 int area;
7899 7896
7900 frame_to_window_pixel_xy (w, &x, &y); 7897 frame_to_window_pixel_xy (w, &x, &y);
7901 7898