diff --git a/channels/rdpdr/client/rdpdr_main.c b/channels/rdpdr/client/rdpdr_main.c index efed61ac0..cc84c8ac8 100644 --- a/channels/rdpdr/client/rdpdr_main.c +++ b/channels/rdpdr/client/rdpdr_main.c @@ -377,7 +377,6 @@ static LRESULT CALLBACK hotplug_proc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM char drive_name_upper, drive_name_lower; ULONG_PTR* keys = NULL; DEVICE_DRIVE_EXT* device_ext; - UINT32 ids[1]; for (int i = 0; i < 26; i++) { diff --git a/channels/rdpsnd/server/rdpsnd_main.c b/channels/rdpsnd/server/rdpsnd_main.c index 7834b39dc..06ac4875e 100644 --- a/channels/rdpsnd/server/rdpsnd_main.c +++ b/channels/rdpsnd/server/rdpsnd_main.c @@ -184,7 +184,6 @@ static UINT rdpsnd_server_recv_quality_mode(RdpsndServerContext* context, wStrea */ static UINT rdpsnd_server_recv_formats(RdpsndServerContext* context, wStream* s) { - UINT16 num_known_format = 0; UINT error = CHANNEL_RC_OK; WINPR_ASSERT(context); @@ -247,13 +246,6 @@ static UINT rdpsnd_server_recv_formats(RdpsndServerContext* context, wStream* s) goto out_free; } } - - if (format->wFormatTag != 0) - { - // lets call this a known format - // TODO: actually look through our own list of known formats - num_known_format++; - } } if (!context->num_client_formats)