diff options
Diffstat (limited to 'source/blender/blenlib/BLI_array.h')
-rw-r--r-- | source/blender/blenlib/BLI_array.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_array.h b/source/blender/blenlib/BLI_array.h index 4e2cfe09219..f8e23629429 100644 --- a/source/blender/blenlib/BLI_array.h +++ b/source/blender/blenlib/BLI_array.h @@ -78,7 +78,7 @@ void _bli_array_grow_func(void **arr_p, const void *arr_static, char _##arr##_static[maxstatic * sizeof(*(arr))] /* this returns the logical size of the array, not including buffering. */ -#define BLI_array_count(arr) _##arr##_count +#define BLI_array_count(arr) ((void)0, _##arr##_count) /* Grow the array by a fixed number of items. * |