Fix strict compiler warnings
This commit is contained in:
parent
599626edd5
commit
18e619ac69
|
@ -958,6 +958,7 @@ static void child_get_inverse_matrix_owner_object(
|
|||
|
||||
/* make sure we passed the correct constraint */
|
||||
BLI_assert(BLI_findindex(&ob->constraints, con) != -1);
|
||||
UNUSED_VARS_NDEBUG(con);
|
||||
|
||||
/* use BKE_object_workob_calc_parent to find inverse - just like for normal parenting */
|
||||
BKE_object_workob_calc_parent(depsgraph, scene, ob, &workob);
|
||||
|
|
|
@ -1626,6 +1626,7 @@ static int object_select_menu_exec(bContext *C, wmOperator *op)
|
|||
if (basact == NULL) {
|
||||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
UNUSED_VARS_NDEBUG(v3d);
|
||||
BLI_assert(BASE_SELECTABLE(v3d, basact));
|
||||
|
||||
if (extend) {
|
||||
|
|
Loading…
Reference in New Issue