From 4c664632189fd81f39d7f794a3911c7ecdc9c938 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 25 May 2013 22:26:41 +0000 Subject: code cleanup: quiet pedantic warning in array macro. --- source/blender/blenlib/BLI_array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/blender/blenlib/BLI_array.h b/source/blender/blenlib/BLI_array.h index 95a5c7499c7..3fb50afdeac 100644 --- a/source/blender/blenlib/BLI_array.h +++ b/source/blender/blenlib/BLI_array.h @@ -89,7 +89,7 @@ void _bli_array_grow_func(void **arr_p, const void *arr_static, /* don't add _##arr##_count below because it must be zero */ \ (_bli_array_totalsize_static(arr) >= _##arr##_count + num)) ? \ /* we have an empty array and a static var big enough */ \ - (arr = (void *)_##arr##_static) \ + (void)(arr = (void *)_##arr##_static) \ : \ /* use existing static array or allocate */ \ (LIKELY(_bli_array_totalsize(arr) >= _##arr##_count + num) ? \ -- cgit v1.2.3