changeset 2232:2c653fbe06e0

[xemacs-hg @ 2004-08-25 19:52:48 by james] Remove unused variable 'device'.
author james
date Wed, 25 Aug 2004 19:52:48 +0000
parents d502f9328e64
children 085bdd815327
files src/ChangeLog src/redisplay-x.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Aug 24 21:50:28 2004 +0000
+++ b/src/ChangeLog	Wed Aug 25 19:52:48 2004 +0000
@@ -1,3 +1,7 @@
+2004-08-25  Jerry James  <james@xemacs.org>
+
+	* redisplay-x.c (x_output_string): Remove unused variable device.
+
 2004-08-12  Jerry James  <james@xemacs.org>
 
 	* window.c (margin_width_internal): Remove unused variable b.
--- a/src/redisplay-x.c	Tue Aug 24 21:50:28 2004 +0000
+++ b/src/redisplay-x.c	Wed Aug 25 19:52:48 2004 +0000
@@ -773,7 +773,6 @@
   /* General variables */
   struct frame *f = XFRAME (w->frame);
   struct device *d = XDEVICE (f->device);
-  Lisp_Object device;
   Lisp_Object window;
   Display *dpy = DEVICE_X_DISPLAY (d);
   Window x_win = XtWindow (FRAME_X_TEXT_WIDGET (f));
@@ -798,7 +797,6 @@
   int i;
   struct face_cachel *cachel = WINDOW_FACE_CACHEL (w, findex);
 
-  device = wrap_device (d);
   window = wrap_window (w);
 
   if (width < 0)