[Bf-blender-cvs] [60043a6158e] blender-v3.4-release: Cleanup: quiet unused argument warning

Campbell Barton noreply at git.blender.org
Sat Nov 5 07:10:03 CET 2022


Commit: 60043a6158ebaae7fa62dfdf51c6037a4b104db4
Author: Campbell Barton
Date:   Sat Nov 5 17:08:53 2022 +1100
Branches: blender-v3.4-release
https://developer.blender.org/rB60043a6158ebaae7fa62dfdf51c6037a4b104db4

Cleanup: quiet unused argument warning

===================================================================

M	intern/ghost/intern/GHOST_SystemWayland.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_SystemWayland.cpp b/intern/ghost/intern/GHOST_SystemWayland.cpp
index 67270d26ed3..3a0ba5cd21a 100644
--- a/intern/ghost/intern/GHOST_SystemWayland.cpp
+++ b/intern/ghost/intern/GHOST_SystemWayland.cpp
@@ -4013,7 +4013,8 @@ static void gwl_seat_capability_touch_disable(GWL_Seat *seat)
 }
 
 static void seat_handle_capabilities(void *data,
-                                     struct wl_seat *wl_seat,
+                                     /* Only used in an assert. */
+                                     [[maybe_unused]] struct wl_seat *wl_seat,
                                      const uint32_t capabilities)
 {
   CLOG_INFO(LOG,



More information about the Bf-blender-cvs mailing list