Fixed warning in rdpgfx server channel

This commit is contained in:
Armin Novak
2021-11-30 10:27:57 +01:00
committed by akallabeth
parent b2a6740d88
commit fe4c30fc54

View File

@@ -1393,12 +1393,10 @@ static DWORD WINAPI rdpgfx_server_thread_func(LPVOID arg)
RdpgfxServerContext* context = (RdpgfxServerContext*)arg;
RdpgfxServerPrivate* priv = context->priv;
DWORD status;
DWORD nCount;
void* buffer;
HANDLE events[8];
DWORD nCount = 0;
HANDLE events[8] = { 0 };
UINT error = CHANNEL_RC_OK;
buffer = NULL;
nCount = 0;
events[nCount++] = priv->stopEvent;
events[nCount++] = priv->channelEvent;