From 1763ffa0be4806949a2644a4a520647c9a1eefbd Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Fri, 4 Mar 2022 07:59:07 -0500 Subject: Cleanup: Unused variable warnings --- source/blender/editors/uvedit/uvedit_select.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/uvedit') diff --git a/source/blender/editors/uvedit/uvedit_select.c b/source/blender/editors/uvedit/uvedit_select.c index ca66981cd3a..578e05b2c03 100644 --- a/source/blender/editors/uvedit/uvedit_select.c +++ b/source/blender/editors/uvedit/uvedit_select.c @@ -1229,6 +1229,7 @@ void ED_uvedit_selectmode_flush(Scene *scene, BMEditMesh *em) const int cd_loop_uv_offset = CustomData_get_offset(&em->bm->ldata, CD_MLOOPUV); BLI_assert((ts->uv_flag & UV_SYNC_SELECTION) == 0); + UNUSED_VARS_NDEBUG(ts); /* Vertex Mode only. */ if (ts->uv_selectmode & UV_SELECT_VERTEX) { @@ -1295,6 +1296,7 @@ void uvedit_deselect_flush(Scene *scene, BMEditMesh *em) const int cd_loop_uv_offset = CustomData_get_offset(&em->bm->ldata, CD_MLOOPUV); BLI_assert((ts->uv_flag & UV_SYNC_SELECTION) == 0); + UNUSED_VARS_NDEBUG(ts); BMFace *efa; BMLoop *l; -- cgit v1.2.3