diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2021-10-21 19:27:30 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2021-10-21 19:27:30 +0300 |
commit | deb7ec312a43d5a511b2862da8e31b2addb7f492 (patch) | |
tree | 61fee44db1ecdee9c7e25239733d4b8c65f72983 /source/blender | |
parent | 594c857f652b7f9283b299e1e82cd7dc324f8ffe (diff) |
Suppress the unused parameter warning from D9551.
The parameter is only used in an assert.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenloader/intern/versioning_300.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_300.c b/source/blender/blenloader/intern/versioning_300.c index 6b57bdf9a9c..51a3e32f2bb 100644 --- a/source/blender/blenloader/intern/versioning_300.c +++ b/source/blender/blenloader/intern/versioning_300.c @@ -1177,6 +1177,7 @@ static void correct_bone_roll_value(const float head[3], * 2.92 and 2.91, provided Edit Mode isn't entered on the armature in 2.91. */ vec_roll_to_mat3(vec, *r_roll, bone_mat); + UNUSED_VARS_NDEBUG(check_y_axis); BLI_assert(dot_v3v3(bone_mat[1], check_y_axis) > 0.999f); if (dot_v3v3(bone_mat[0], check_x_axis) < 0.999f) { |