[X2Go-Commits] [nx-libs] 178/219: NXdispatch.c: drop currentDispatch variable
git-admin at x2go.org
git-admin at x2go.org
Sat Sep 28 12:10:52 CEST 2019
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 c34d1b2011236c7b69dac09b78cdfb972e20ef6a
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Fri Aug 16 13:08:42 2019 +0200
NXdispatch.c: drop currentDispatch variable
was only used once
---
nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c | 21 ++++++++-------------
1 file changed, 8 insertions(+), 13 deletions(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
index 0ad26b0bb..da7a55b69 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
@@ -244,8 +244,6 @@ Dispatch(void)
register HWEventQueuePtr* icheck = checkForInput;
long start_tick;
- unsigned long currentDispatch = 0;
-
nextFreeClientID = 1;
InitSelections();
nClients = 0;
@@ -371,18 +369,15 @@ Reply Total Cached Bits In Bits Out Bits/Reply Ratio
#ifdef NXAGENT_ONSTART
- currentDispatch = GetTimeInMillis();
-
- /*
- * If the timeout is expired set the
- * selection informing the NX client
- * that the agent is ready.
- */
+ /*
+ * If the timeout is expired set the selection informing the
+ * NX client that the agent is ready.
+ */
- if (nxagentWMtimeout < currentDispatch)
- {
- nxagentRemoveSplashWindow();
- }
+ if (nxagentWMtimeout < GetTimeInMillis())
+ {
+ nxagentRemoveSplashWindow();
+ }
nxagentClients = nClients;
--
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