diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-11-25 17:22:21 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-11-25 17:22:21 +0300 |
commit | e0cada951982093453a91b80342ce20c4f421fc8 (patch) | |
tree | d46600260e1a7dc987e625a92913427df72c35f2 /source | |
parent | 62ba16d7c45083fc2b1d61f39cfe20e78896cfcd (diff) |
Cleanup: Unused variable in release build mode
Thanks Bastien for code review!
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/intern/task.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/task.c b/source/blender/blenlib/intern/task.c index e926cbb18bc..35e6943230c 100644 --- a/source/blender/blenlib/intern/task.c +++ b/source/blender/blenlib/intern/task.c @@ -1514,6 +1514,7 @@ void BLI_task_parallel_range_pool_work_and_wait(TaskParallelRangePool *range_poo state = state->next) { const size_t userdata_chunk_size = state->tls_data_size; void *userdata_chunk_array = state->flatten_tls_storage; + UNUSED_VARS_NDEBUG(userdata_chunk_array); if (userdata_chunk_size == 0) { BLI_assert(userdata_chunk_array == NULL); MEM_freeN(state); |