Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-05-26 02:26:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-26 02:26:41 +0400
commit4c664632189fd81f39d7f794a3911c7ecdc9c938 (patch)
treee0ca279119ad4f731489bc493e3ca587fdd329ee /source
parent7e9fdd97baf4d31fb044e9e714f93387d5d5934a (diff)
code cleanup: quiet pedantic warning in array macro.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/BLI_array.h2
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) ? \