[Bf-blender-cvs] [1763ffa0be4] master: Cleanup: Unused variable warnings
Hans Goudey
noreply at git.blender.org
Fri Mar 4 13:59:42 CET 2022
Commit: 1763ffa0be4806949a2644a4a520647c9a1eefbd
Author: Hans Goudey
Date: Fri Mar 4 07:59:07 2022 -0500
Branches: master
https://developer.blender.org/rB1763ffa0be4806949a2644a4a520647c9a1eefbd
Cleanup: Unused variable warnings
===================================================================
M source/blender/editors/uvedit/uvedit_select.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list