Cleanup: quiet warning

This commit is contained in:
2015-06-21 12:30:11 +10:00
parent 8d752141ce
commit 9ddb624a88
2 changed files with 2 additions and 0 deletions

View File

@@ -2440,6 +2440,7 @@ void BKE_scene_multiview_view_prefix_get(Scene *scene, const char *name, char *r
/* begin of extension */
index_act = BLI_str_rpartition(name, delims, rext, &suf_act);
BLI_assert(index_act > 0);
UNUSED_VARS_NDEBUG(index_act);
for (srv = scene->r.views.first; srv; srv = srv->next) {
if (BKE_scene_multiview_is_render_view_active(&scene->r, srv)) {

View File

@@ -208,6 +208,7 @@ void bmo_offset_edgeloops_exec(BMesh *bm, BMOperator *op)
BM_face_split(bm, l->f, l->prev, l->next, &l_new, NULL, true);
BLI_assert(f_cmp == l->f);
BLI_assert(f_cmp != l_new->f);
UNUSED_VARS_NDEBUG(f_cmp);
BMO_elem_flag_enable(bm, l_new->e, ELE_NEW);
}
}