Commit c34d1b20 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

NXdispatch.c: drop currentDispatch variable

was only used once
parent ab801523
...@@ -244,8 +244,6 @@ Dispatch(void) ...@@ -244,8 +244,6 @@ Dispatch(void)
register HWEventQueuePtr* icheck = checkForInput; register HWEventQueuePtr* icheck = checkForInput;
long start_tick; long start_tick;
unsigned long currentDispatch = 0;
nextFreeClientID = 1; nextFreeClientID = 1;
InitSelections(); InitSelections();
nClients = 0; nClients = 0;
...@@ -371,18 +369,15 @@ Reply Total Cached Bits In Bits Out Bits/Reply Ratio ...@@ -371,18 +369,15 @@ Reply Total Cached Bits In Bits Out Bits/Reply Ratio
#ifdef NXAGENT_ONSTART #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) if (nxagentWMtimeout < GetTimeInMillis())
{ {
nxagentRemoveSplashWindow(); nxagentRemoveSplashWindow();
} }
nxagentClients = nClients; nxagentClients = nClients;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment