changeset 52763:9f0dd16cb11b

* xfns.c (Fx_send_client_event): Remove unused variable s.
author Jan Djärv <jan.h.d@swipnet.se>
date Sun, 05 Oct 2003 17:23:05 +0000
parents 1ae6e2780dd9
children f2fb09e111f7
files src/ChangeLog src/xfns.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Oct 05 16:58:02 2003 +0000
+++ b/src/ChangeLog	Sun Oct 05 17:23:05 2003 +0000
@@ -2,6 +2,7 @@
 
 	* xfns.c (Fx_send_client_event): New function as a base for
 	manipulating extended window manager hints.
+	(Fx_send_client_event): Remove unused variable s.
 
 	* w32term.c (w32_read_socket): Remove call to x_check_fullscreen_move,
 	that function is removed.
--- a/src/xfns.c	Sun Oct 05 16:58:02 2003 +0000
+++ b/src/xfns.c	Sun Oct 05 17:23:05 2003 +0000
@@ -4358,12 +4358,11 @@
     {
       Lisp_Object o = XCAR (cons);
       long val;
-      char *s = 0;
 
       if (INTEGERP (o))
         val = XINT (o);
       else if (STRINGP (o))
-          val = XInternAtom (dpyinfo->display, s = SDATA (o), False);
+          val = XInternAtom (dpyinfo->display, SDATA (o), False);
 
       if (event.xclient.format == 8)
         event.xclient.data.b[i] = (char) val;