diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-26 02:26:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-26 02:26:41 +0400 |
commit | 4c664632189fd81f39d7f794a3911c7ecdc9c938 (patch) | |
tree | e0ca279119ad4f731489bc493e3ca587fdd329ee /source/blender/blenlib | |
parent | 7e9fdd97baf4d31fb044e9e714f93387d5d5934a (diff) |
code cleanup: quiet pedantic warning in array macro.
Diffstat (limited to 'source/blender/blenlib')
-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 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) ? \ |