[Bf-blender-cvs] [9c61107ba53] master: Cleanup: Silence pedantic compiler warning
Sergey Sharybin
noreply at git.blender.org
Tue Jan 22 12:06:28 CET 2019
Commit: 9c61107ba53b6b6728a7e1282503f5e4ee9781cd
Author: Sergey Sharybin
Date: Tue Jan 22 12:05:48 2019 +0100
Branches: master
https://developer.blender.org/rB9c61107ba53b6b6728a7e1282503f5e4ee9781cd
Cleanup: Silence pedantic compiler warning
Was happening in release builds.
===================================================================
M source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c
===================================================================
diff --git a/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c b/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c
index 9999f4034c6..89df826617b 100644
--- a/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c
+++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c
@@ -819,6 +819,7 @@ void WM_gizmomaptype_group_init_runtime_with_region(
{
wmGizmoMap *gzmap = ar->gizmo_map;
BLI_assert(gzmap && gzmap->type == gzmap_type);
+ UNUSED_VARS_NDEBUG(gzmap_type);
wm_gizmogroup_new_from_type(gzmap, gzgt);
More information about the Bf-blender-cvs
mailing list