From ad713dc457fc7c4e70f684e0299963ab45f6ea6d Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 10 Sep 2018 09:50:50 +0200 Subject: [PATCH] Cleanup: Warning in release builds --- source/blender/editors/mesh/editmesh_tools.c | 2 ++ 1 file changed, 2 insertions(+) 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;