aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorPavel Janík <[email protected]>2001-10-24 10:29:11 +0000
committerPavel Janík <[email protected]>2001-10-24 10:29:11 +0000
commit2beb36f9bbf44dee72b571b475629009f2520225 (patch)
treef051e68d08b472aa6c1dd28f910543bc32c2e560 /src/xterm.c
parent036cb5a21639fa8d3c19542d28200acc41cdec89 (diff)
(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 7a069a0197..bd856f1fda 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -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);