[server,shadow] fix missing return check

This commit is contained in:
akallabeth 2023-01-19 14:46:47 +01:00 committed by Martin Fleisz
parent 033ffff428
commit 26c967a083

View File

@ -2112,7 +2112,8 @@ static DWORD WINAPI shadow_client_thread(LPVOID arg)
shadow_input_register_callbacks(peer->context->input);
rc = peer->Initialize(peer);
WINPR_ASSERT(rc);
if (!rc)
goto out;
update = peer->context->update;
WINPR_ASSERT(update);