[Bf-blender-cvs] [f651cc6c4ed] master: Cleanup: Silent compile warning in `interface_widgets.c`.

Jeroen Bakker noreply at git.blender.org
Tue Jun 8 08:26:06 CEST 2021


Commit: f651cc6c4eda0764b085f824a42e0d407b258705
Author: Jeroen Bakker
Date:   Tue Jun 8 08:25:39 2021 +0200
Branches: master
https://developer.blender.org/rBf651cc6c4eda0764b085f824a42e0d407b258705

Cleanup: Silent compile warning in `interface_widgets.c`.

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

M	source/blender/editors/interface/interface_widgets.c

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

diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c
index 8b861fab418..fe6a8b0d1a6 100644
--- a/source/blender/editors/interface/interface_widgets.c
+++ b/source/blender/editors/interface/interface_widgets.c
@@ -1941,7 +1941,7 @@ static bool widget_draw_text_underline_calc_position(const char *UNUSED(str),
                                                      const rcti *glyph_step_bounds,
                                                      const int UNUSED(glyph_advance_x),
                                                      const rctf *glyph_bounds,
-                                                     const int glyph_bearing[2],
+                                                     const int UNUSED(glyph_bearing[2]),
                                                      void *user_data)
 {
   struct UnderlineData *ul_data = user_data;



More information about the Bf-blender-cvs mailing list