Commit 4202d509 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

NXdispatch.c: drop currentDispatch variable

was only used once
parent 60a3c9b0
...@@ -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,15 +369,12 @@ Reply Total Cached Bits In Bits Out Bits/Reply Ratio ...@@ -371,15 +369,12 @@ 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 * If the timeout is expired set the selection informing the
* selection informing the NX client * NX client that the agent is ready.
* that the agent is ready.
*/ */
if (nxagentWMtimeout < currentDispatch) if (nxagentWMtimeout < GetTimeInMillis())
{ {
nxagentRemoveSplashWindow(); nxagentRemoveSplashWindow();
} }
......
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