]> code.delx.au - gnu-emacs/commitdiff
* xfns.c (Fx_send_client_event): Remove unused variable s.
authorJan Djärv <jan.h.d@swipnet.se>
Sun, 5 Oct 2003 17:23:05 +0000 (17:23 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Sun, 5 Oct 2003 17:23:05 +0000 (17:23 +0000)
src/ChangeLog
src/xfns.c

index 49ee4ad72da89b18f09ad09130c528074cb44d4e..74ccfc7aac8f3cc8338b19a7bfce4c6443a87287 100644 (file)
@@ -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.
index 6b00bfd981833773ac25212d39f2453a77ce30c3..b188ee3a43d78fb95378ce5c2acc94a0dcfad428 100644 (file)
@@ -4358,12 +4358,11 @@ the excessive values are ignored.  */)
     {
       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;