From: Jan Djärv Date: Sun, 5 Oct 2003 17:23:05 +0000 (+0000) Subject: * xfns.c (Fx_send_client_event): Remove unused variable s. X-Git-Tag: ttn-vms-21-2-B4~8618 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6dc15d9823a31247532291f07727ba6fee31680a;p=emacs.git * xfns.c (Fx_send_client_event): Remove unused variable s. --- diff --git a/src/ChangeLog b/src/ChangeLog index 49ee4ad72da..74ccfc7aac8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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. diff --git a/src/xfns.c b/src/xfns.c index 6b00bfd9818..b188ee3a43d 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -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;