From 6dc15d9823a31247532291f07727ba6fee31680a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Sun, 5 Oct 2003 17:23:05 +0000 Subject: [PATCH] * xfns.c (Fx_send_client_event): Remove unused variable s. --- src/ChangeLog | 1 + src/xfns.c | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2