[Bf-blender-cvs] [477faffd786] master: Cleanup: unused argument warning

Campbell Barton noreply at git.blender.org
Wed Nov 9 11:08:45 CET 2022


Commit: 477faffd786ed032e7af2e704373d1568b59b78b
Author: Campbell Barton
Date:   Wed Nov 9 21:08:31 2022 +1100
Branches: master
https://developer.blender.org/rB477faffd786ed032e7af2e704373d1568b59b78b

Cleanup: 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 f068ef79c57..a2028de6f53 100644
--- a/intern/ghost/intern/GHOST_SystemWayland.cpp
+++ b/intern/ghost/intern/GHOST_SystemWayland.cpp
@@ -5065,6 +5065,8 @@ GHOST_SystemWayland::GHOST_SystemWayland(bool background)
     }
   }
   else
+#else
+  (void)background;
 #endif
   {
     GWL_XDG_Decor_System &decor = *display_->xdg_decor;



More information about the Bf-blender-cvs mailing list