diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-05 17:08:51 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-05 17:08:51 +0300 |
commit | 18e619ac69bfebe0baeaa3dbf51e34ea9856438d (patch) | |
tree | cb84fc09a87c6c2d4d1c1f0ba44257eb0a7b6d1b /source/blender/editors/object/object_constraint.c | |
parent | 599626edd534ad776ab020ca041a8df2fae0980c (diff) |
Fix strict compiler warnings
Diffstat (limited to 'source/blender/editors/object/object_constraint.c')
-rw-r--r-- | source/blender/editors/object/object_constraint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_constraint.c b/source/blender/editors/object/object_constraint.c index 77b23081a62..9c23daab923 100644 --- a/source/blender/editors/object/object_constraint.c +++ b/source/blender/editors/object/object_constraint.c @@ -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); |