diff options
Diffstat (limited to 'source/blender/blenlib/intern/array_store_utils.c')
-rw-r--r-- | source/blender/blenlib/intern/array_store_utils.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/array_store_utils.c b/source/blender/blenlib/intern/array_store_utils.c index 83cd28ddf11..97e4207328b 100644 --- a/source/blender/blenlib/intern/array_store_utils.c +++ b/source/blender/blenlib/intern/array_store_utils.c @@ -43,9 +43,6 @@ BArrayStore *BLI_array_store_at_size_ensure( BArrayStore **bs_p = &bs_stride->stride_table[stride - 1]; if ((*bs_p) == NULL) { -#if 0 - unsigned int chunk_count = chunk_size; -#else /* calculate best chunk-count to fit a power of two */ unsigned int chunk_count = chunk_size; { @@ -54,7 +51,6 @@ BArrayStore *BLI_array_store_at_size_ensure( size = MEM_SIZE_OPTIMAL(size); chunk_count = size / stride; } -#endif (*bs_p) = BLI_array_store_create(stride, chunk_count); } |