From 652d5299e744da44f5bec2efe3ea3b3d831c0d89 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Thu, 13 Feb 2025 15:32:49 +0100 Subject: [PATCH] [server,warnings] fix -Wunused-parameter for sample --- server/Sample/sf_ainput.c | 4 ++-- server/Sample/sf_audin.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/server/Sample/sf_ainput.c b/server/Sample/sf_ainput.c index 1c19e0704..5d329565a 100644 --- a/server/Sample/sf_ainput.c +++ b/server/Sample/sf_ainput.c @@ -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); diff --git a/server/Sample/sf_audin.c b/server/Sample/sf_audin.c index 5783fe60d..02d3f4bc8 100644 --- a/server/Sample/sf_audin.c +++ b/server/Sample/sf_audin.c @@ -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);