suppress clang warning

This commit is contained in:
Alex Janka 2023-03-12 11:02:04 +11:00
parent ea3bb96835
commit 1f10d26998

View file

@ -423,6 +423,8 @@ void mfb_set_title(void* window, const char* title)
[win setTitle: ns_title];
}
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-parameter"
void mfb_set_cursor_visibility(void *window, bool visibility)
{
if (visibility){
@ -432,6 +434,7 @@ void mfb_set_cursor_visibility(void *window, bool visibility)
[NSCursor hide];
}
}
#pragma clang diagnostic pop
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////