diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-24 04:38:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-24 04:38:08 +0300 |
commit | 3f47df577d05478a324b6eca80df0a33c838fab8 (patch) | |
tree | a404eb3500fb33132a5240f05cd48aa860c7d12b /source/blender/python/mathutils | |
parent | 3ea1779365b577766a3d14a662f5cbd3bc81db53 (diff) |
Cleanup: use new BLI_assert_unreachable macro
Diffstat (limited to 'source/blender/python/mathutils')
-rw-r--r-- | source/blender/python/mathutils/mathutils_Matrix.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c index 016ba462030..161d2f41592 100644 --- a/source/blender/python/mathutils/mathutils_Matrix.c +++ b/source/blender/python/mathutils/mathutils_Matrix.c @@ -1049,7 +1049,8 @@ static void adjoint_matrix_n(float *mat_dst, const float *mat_src, const ushort break; } default: - BLI_assert(0); + BLI_assert_unreachable(); + break; } } @@ -1159,7 +1160,7 @@ static void matrix_invert_safe_internal(const MatrixObject *self, float *r_mat) break; } default: - BLI_assert(0); + BLI_assert_unreachable(); } } |