[coverity] 1543129 Uninitialized scalar variable

This commit is contained in:
akallabeth 2024-04-11 10:24:02 +02:00 committed by akallabeth
parent 2fefc29249
commit c831717cb0

View File

@ -409,7 +409,7 @@ static int x11_shadow_pointer_position_update(x11ShadowSubsystem* subsystem)
{
UINT32 msgId = SHADOW_MSG_OUT_POINTER_POSITION_UPDATE_ID;
rdpShadowServer* server = NULL;
SHADOW_MSG_OUT_POINTER_POSITION_UPDATE templateMsg;
SHADOW_MSG_OUT_POINTER_POSITION_UPDATE templateMsg = { 0 };
int count = 0;
if (!subsystem || !subsystem->common.server || !subsystem->common.server->clients)