[X2Go-Commits] [nx-libs] 35/429: Init.c: small simplification
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:36:02 CEST 2021
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit 3a7c375932d5f34be61347c58739e2e47f59aae5
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Tue May 26 00:05:51 2020 +0200
Init.c: small simplification
---
nx-X11/programs/Xserver/hw/nxagent/Init.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Init.c b/nx-X11/programs/Xserver/hw/nxagent/Init.c
index 804c8c43b..b06d8e239 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Init.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Init.c
@@ -405,10 +405,8 @@ void nxagentNotifyConnection(int fd, int ready, void *data)
void InitInput(int argc, char *argv[])
{
- void *ptr, *kbd;
-
- ptr = AddInputDevice(nxagentPointerProc, True);
- kbd = AddInputDevice(nxagentKeyboardProc, True);
+ void *ptr = AddInputDevice(nxagentPointerProc, True);
+ void *kbd = AddInputDevice(nxagentKeyboardProc, True);
RegisterPointerDevice(ptr);
RegisterKeyboardDevice(kbd);
--
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