From c1b2a1af748b4084f1ed25454ed553e8ab08b289 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 24 Jul 2025 14:37:09 +1000 Subject: [PATCH] Cleanup: quiet unused warnings --- intern/ghost/intern/GHOST_SystemWayland.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/intern/ghost/intern/GHOST_SystemWayland.cc b/intern/ghost/intern/GHOST_SystemWayland.cc index c059a2e9fad..1cb09aa120c 100644 --- a/intern/ghost/intern/GHOST_SystemWayland.cc +++ b/intern/ghost/intern/GHOST_SystemWayland.cc @@ -2725,6 +2725,8 @@ static void cursor_buffer_set_surface_impl(const wl_cursor_image *wl_image, const int32_t image_size_y = int32_t(wl_image->height); GHOST_ASSERT((image_size_x % scale) == 0 && (image_size_y % scale) == 0, "The size must be a multiple of the scale!"); + (void)image_size_x; + (void)image_size_y; wl_surface_set_buffer_scale(wl_surface, scale); wl_surface_attach(wl_surface, buffer, 0, 0);