[channel,urbdrc] fix warnings

This commit is contained in:
Armin Novak
2026-02-20 09:17:55 +01:00
parent 6a983751b6
commit 98f37bdf8c

View File

@@ -581,8 +581,7 @@ static UINT urb_select_configuration(IUDEVICE* pdev, GENERIC_CHANNEL_CALLBACK* c
/* [MS-RDPEUSB[ 2.2.10.3 TS_URB_SELECT_INTERFACE_RESULT */ /* [MS-RDPEUSB[ 2.2.10.3 TS_URB_SELECT_INTERFACE_RESULT */
static UINT urb_select_interface_result(GENERIC_CHANNEL_CALLBACK* callback, UINT32 RequestId, static UINT urb_select_interface_result(GENERIC_CHANNEL_CALLBACK* callback, UINT32 RequestId,
UINT32 InterfaceId, UINT32 MessageId, UINT32 InterfaceId, UINT32 MessageId,
MSUSB_INTERFACE_DESCRIPTOR* MsInterface, MSUSB_INTERFACE_DESCRIPTOR* MsInterface)
UINT32 ConfigurationHandle)
{ {
WINPR_ASSERT(callback); WINPR_ASSERT(callback);
WINPR_ASSERT(MsInterface); WINPR_ASSERT(MsInterface);
@@ -681,8 +680,7 @@ static UINT urb_select_interface(IUDEVICE* pdev, GENERIC_CHANNEL_CALLBACK* callb
if (noAck) if (noAck)
return CHANNEL_RC_OK; return CHANNEL_RC_OK;
return urb_select_interface_result(callback, RequestId, InterfaceId, MessageId, MsInterface, return urb_select_interface_result(callback, RequestId, InterfaceId, MessageId, MsInterface);
ConfigurationHandle);
} }
static UINT urb_control_transfer(IUDEVICE* pdev, GENERIC_CHANNEL_CALLBACK* callback, wStream* s, static UINT urb_control_transfer(IUDEVICE* pdev, GENERIC_CHANNEL_CALLBACK* callback, wStream* s,