[Bf-blender-cvs] [9142c06] master: Remove MSVC2008 workaround
Campbell Barton
noreply at git.blender.org
Thu Aug 14 06:21:41 CEST 2014
Commit: 9142c062e0ec9217ceacfe4d4095d18a2496eacb
Author: Campbell Barton
Date: Thu Aug 14 14:18:37 2014 +1000
Branches: master
https://developer.blender.org/rB9142c062e0ec9217ceacfe4d4095d18a2496eacb
Remove MSVC2008 workaround
===================================================================
M source/blender/blenlib/BLI_array.h
===================================================================
diff --git a/source/blender/blenlib/BLI_array.h b/source/blender/blenlib/BLI_array.h
index b2f0bd5..0cd6498 100644
--- a/source/blender/blenlib/BLI_array.h
+++ b/source/blender/blenlib/BLI_array.h
@@ -97,8 +97,7 @@ void _bli_array_grow_func(void **arr_p, const void *arr_static,
(void)0 /* do nothing */ : \
_bli_array_grow_func((void **)&(arr), _##arr##_static, \
sizeof(*(arr)), _##arr##_count, num, \
- "BLI_array." #arr), \
- (void)0) /* msvc2008 needs this */ \
+ "BLI_array." #arr)) \
), \
/* increment the array count, all conditions above are accounted for. */ \
(_##arr##_count += num))
More information about the Bf-blender-cvs
mailing list