[client,warnings] fix -Wunused-parameter for wayland

This commit is contained in:
akallabeth
2025-02-13 15:32:07 +01:00
parent 36c5826f45
commit f3d9df0483
3 changed files with 6 additions and 4 deletions

View File

@@ -706,7 +706,7 @@ static UINT wlf_cliprdr_server_format_list(CliprdrClientContext* context,
* @return 0 on success, otherwise a Win32 error code
*/
static UINT
wlf_cliprdr_server_format_list_response(CliprdrClientContext* context,
wlf_cliprdr_server_format_list_response(WINPR_ATTR_UNUSED CliprdrClientContext* context,
const CLIPRDR_FORMAT_LIST_RESPONSE* formatListResponse)
{
WINPR_ASSERT(context);

View File

@@ -158,8 +158,9 @@ static BOOL wlf_disp_sendResize(wlfDispContext* wlfDisp)
return wlf_update_last_sent(wlfDisp);
}
static BOOL wlf_disp_set_window_resizable(wlfDispContext* wlfDisp)
static BOOL wlf_disp_set_window_resizable(WINPR_ATTR_UNUSED wlfDispContext* wlfDisp)
{
WLog_ERR("TODO", "TODO: implement");
#if 0 // TODO
#endif
return TRUE;

View File

@@ -144,10 +144,11 @@ static BOOL wlf_Pointer_SetDefault(rdpContext* context)
return TRUE;
}
static BOOL wlf_Pointer_SetPosition(rdpContext* context, UINT32 x, UINT32 y)
static BOOL wlf_Pointer_SetPosition(WINPR_ATTR_UNUSED rdpContext* context,
WINPR_ATTR_UNUSED UINT32 x, WINPR_ATTR_UNUSED UINT32 y)
{
// TODO
WLog_WARN(TAG, "not implemented");
WLog_ERR("TODO", "TODO: implement");
return TRUE;
}