mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[warnings] eliminate unused
This commit is contained in:
@@ -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++)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user