Cleanup: use new BLI_assert_unreachable macro

This commit is contained in:
2021-03-24 12:38:08 +11:00
parent 3ea1779365
commit 3f47df577d
28 changed files with 55 additions and 53 deletions

View File

@@ -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;
}