diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-07-21 17:46:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-21 17:47:29 +0300 |
commit | 581a6da8048eb4e15189633dedcbce9e04156622 (patch) | |
tree | 87381d80833bda17880e7ebff49693941439c1ec /source/blender/blenlib/intern | |
parent | 63da2c4082a432379fc7fa4ed0d2c34b4cb2858d (diff) |
Fix incorrect use of BLI_assert with error strings
Some asserts were never raised because of invalid checks.
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/task_pool.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/task_pool.cc b/source/blender/blenlib/intern/task_pool.cc index 6250c1b9986..cbb5bf34477 100644 --- a/source/blender/blenlib/intern/task_pool.cc +++ b/source/blender/blenlib/intern/task_pool.cc @@ -532,7 +532,7 @@ bool BLI_task_pool_current_canceled(TaskPool *pool) case TASK_POOL_BACKGROUND_SERIAL: return background_task_pool_canceled(pool); } - BLI_assert("BLI_task_pool_canceled: Control flow should not come here!"); + BLI_assert_msg(0, "BLI_task_pool_canceled: Control flow should not come here!"); return false; } |