Use C style struct init

This commit is contained in:
akallabeth 2022-06-30 11:36:33 +02:00 committed by akallabeth
parent 4d3003b154
commit eb04fe628b

View File

@ -124,7 +124,7 @@ static UINT enumerator_server_handle_select_version_request(CamDevEnumServerCont
wStream* s,
const CAM_SHARED_MSG_HEADER* header)
{
CAM_SELECT_VERSION_REQUEST pdu = {};
CAM_SELECT_VERSION_REQUEST pdu = { 0 };
UINT error = CHANNEL_RC_OK;
WINPR_ASSERT(context);
@ -262,7 +262,7 @@ static UINT enumerator_process_message(enumerator_server* enumerator)
BOOL rc;
UINT error = ERROR_INTERNAL_ERROR;
ULONG BytesReturned;
CAM_SHARED_MSG_HEADER header = {};
CAM_SHARED_MSG_HEADER header = { 0 };
wStream* s;
WINPR_ASSERT(enumerator);