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