From 1b0df5da6d70f306db248907bdf65fe2e3ba4005 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 26 Dec 2013 09:22:49 -0800 Subject: XkbSelectEventDetails: remove unnecessary assignments clear & selectAll are set to 0 already a few lines earlier, affectWhich is set to XkbMapNotifyMask a few lines later. None are used between the other assignments and the removed ones. Signed-off-by: Alan Coopersmith Backported-to-NX-by: Ulrich Sibiller --- nx-X11/lib/X11/XKB.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/nx-X11/lib/X11/XKB.c b/nx-X11/lib/X11/XKB.c index cd0a448ad..7f1b233aa 100644 --- a/nx-X11/lib/X11/XKB.c +++ b/nx-X11/lib/X11/XKB.c @@ -169,9 +169,6 @@ XkbSelectEventDetails(Display *dpy, /* doesn't. Make sure that we always request the stuff */ /* that the implicit support needs, and just filter out anything */ /* the client doesn't want later */ - req->affectWhich = 0; - req->selectAll = 0; - req->clear = 0; req->affectMap = (CARD16) affect; req->map = (CARD16) details | (XkbAllClientInfoMask & affect); req->affectWhich = XkbMapNotifyMask; -- cgit v1.2.3