[server,warnings] fix -Wunused-parameter for sample

This commit is contained in:
akallabeth
2025-02-13 15:32:49 +01:00
parent 8db537a07c
commit 652d5299e7
2 changed files with 4 additions and 3 deletions

View File

@@ -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);

View File

@@ -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);