[Bf-blender-cvs] [eab3ca73480] blender2.8: Cleanup: Unused variable in release build
Sergey Sharybin
noreply at git.blender.org
Wed Sep 19 09:49:23 CEST 2018
Commit: eab3ca7348051142169e519b7ba77b641c1a17f1
Author: Sergey Sharybin
Date: Wed Sep 19 09:48:32 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBeab3ca7348051142169e519b7ba77b641c1a17f1
Cleanup: Unused variable in release build
===================================================================
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 aa4058c95f4..070d0ba76b0 100644
--- a/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c
+++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c
@@ -929,6 +929,7 @@ void WM_gizmo_group_type_reinit_ptr_ex(
{
wmGizmoGroupTypeRef *gzgt_ref = WM_gizmomaptype_group_find_ptr(gzmap_type, gzgt);
BLI_assert(gzgt_ref != NULL);
+ UNUSED_VARS_NDEBUG(gzgt_ref);
WM_gizmomaptype_group_unlink(NULL, bmain, gzmap_type, gzgt);
WM_gizmo_group_type_add_ptr_ex(gzgt, gzmap_type);
}
More information about the Bf-blender-cvs
mailing list