mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
[server,shadow] fix missing return check
This commit is contained in:
parent
033ffff428
commit
26c967a083
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user