[Bf-blender-cvs] [ad713dc457f] blender2.8: Cleanup: Warning in release builds

Sergey Sharybin noreply at git.blender.org
Mon Sep 10 09:51:24 CEST 2018


Commit: ad713dc457fc7c4e70f684e0299963ab45f6ea6d
Author: Sergey Sharybin
Date:   Mon Sep 10 09:50:50 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBad713dc457fc7c4e70f684e0299963ab45f6ea6d

Cleanup: Warning in release builds

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

M	source/blender/editors/mesh/editmesh_tools.c

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

diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index ae5c4389ee3..6784d5f7c9a 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -7654,6 +7654,7 @@ static void normals_split(BMesh *bm)
 				}
 				else {
 					BMVert *v_pivot = l_curr->v;
+					UNUSED_VARS_NDEBUG(v_pivot);
 					BMEdge *e_next;
 					const BMEdge *e_org = l_curr->e;
 					BMLoop *lfan_pivot, *lfan_pivot_next;
@@ -7838,6 +7839,7 @@ static int edbm_average_normals_exec(bContext *C, wmOperator *op)
 				}
 				else {
 					BMVert *v_pivot = l_curr->v;
+					UNUSED_VARS_NDEBUG(v_pivot);
 					BMEdge *e_next;
 					const BMEdge *e_org = l_curr->e;
 					BMLoop *lfan_pivot, *lfan_pivot_next;



More information about the Bf-blender-cvs mailing list