From eb04fe628bf0f3211e9cce6207ac484caf8d8d36 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Thu, 30 Jun 2022 11:36:33 +0200 Subject: [PATCH] Use C style struct init --- channels/rdpecam/server/camera_device_enumerator_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channels/rdpecam/server/camera_device_enumerator_main.c b/channels/rdpecam/server/camera_device_enumerator_main.c index 516f958d5..dc5725358 100644 --- a/channels/rdpecam/server/camera_device_enumerator_main.c +++ b/channels/rdpecam/server/camera_device_enumerator_main.c @@ -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);