[X2Go-Commits] [nx-libs] 89/108: Keyboard.c: simplify over-specific if
git-admin at x2go.org
git-admin at x2go.org
Fri Nov 9 20:35:56 CET 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository nx-libs.
commit 1b05251a02f2fbac09fb267f0c7fcb411c7e0105
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Thu Nov 1 14:46:54 2018 +0100
Keyboard.c: simplify over-specific if
---
nx-X11/programs/Xserver/hw/nxagent/Keyboard.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
index 9c0fd02..65c4d20 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
@@ -869,8 +869,7 @@ XkbError:
XkbInitKeyboardDeviceStruct((void *)pDev, &names, &keySyms, modmap,
nxagentBell, nxagentChangeKeyboardControl);
- if (!nxagentKeyboard ||
- (nxagentKeyboard && (strcmp(nxagentKeyboard, "query") == 0)))
+ if (!nxagentKeyboard || strcmp(nxagentKeyboard, "query") == 0)
{
goto XkbError;
}
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list