Revert "Cleanup: Unused variable in release build mode"

This reverts commit e0cada9519.
This commit is contained in:
Bastien Montagne 2019-11-25 19:53:09 +01:00
parent 5bcb0c9935
commit 52f0d685ba
1 changed files with 0 additions and 1 deletions

View File

@ -1514,7 +1514,6 @@ 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);