mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[client,warnings] fix -Wunused-parameter for wayland
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user