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)
register HWEventQueuePtr* icheck = checkForInput;
long start_tick;
unsigned long currentDispatch = 0;
nextFreeClientID = 1;
InitSelections();
nClients = 0;
......@@ -371,15 +369,12 @@ 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)
if (nxagentWMtimeout < GetTimeInMillis())
{
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