mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[server,warnings] fix -Wunused-parameter for sample
This commit is contained in:
@@ -38,8 +38,8 @@
|
||||
*
|
||||
* @return 0 on success, otherwise a Win32 error code
|
||||
*/
|
||||
static UINT sf_peer_ainput_mouse_event(ainput_server_context* context, UINT64 timestamp,
|
||||
UINT64 flags, INT32 x, INT32 y)
|
||||
static UINT sf_peer_ainput_mouse_event(WINPR_ATTR_UNUSED ainput_server_context* context,
|
||||
UINT64 timestamp, UINT64 flags, INT32 x, INT32 y)
|
||||
{
|
||||
/* TODO: Implement */
|
||||
WINPR_ASSERT(context);
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
|
||||
#if defined(CHANNEL_AUDIN_SERVER)
|
||||
|
||||
static UINT sf_peer_audin_data(audin_server_context* audin, const SNDIN_DATA* data)
|
||||
static UINT sf_peer_audin_data(WINPR_ATTR_UNUSED audin_server_context* audin,
|
||||
const SNDIN_DATA* data)
|
||||
{
|
||||
/* TODO: Implement */
|
||||
WINPR_ASSERT(audin);
|
||||
|
||||
Reference in New Issue
Block a user