Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-03-24 04:38:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-03-24 04:38:08 +0300
commit3f47df577d05478a324b6eca80df0a33c838fab8 (patch)
treea404eb3500fb33132a5240f05cd48aa860c7d12b /source/blender/python/generic
parent3ea1779365b577766a3d14a662f5cbd3bc81db53 (diff)
Cleanup: use new BLI_assert_unreachable macro
Diffstat (limited to 'source/blender/python/generic')
-rw-r--r--source/blender/python/generic/imbuf_py_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/imbuf_py_api.c b/source/blender/python/generic/imbuf_py_api.c
index 5b4a4fd237e..97a66bc23c0 100644
--- a/source/blender/python/generic/imbuf_py_api.c
+++ b/source/blender/python/generic/imbuf_py_api.c
@@ -123,7 +123,7 @@ static PyObject *py_imbuf_resize(Py_ImBuf *self, PyObject *args, PyObject *kw)
IMB_scaleImBuf(self->ibuf, UNPACK2(size));
}
else {
- BLI_assert(0);
+ BLI_assert_unreachable();
}
Py_RETURN_NONE;
}