[Bf-blender-cvs] [71139cedcb0] master: Missed last commit

Campbell Barton noreply at git.blender.org
Thu Mar 15 01:08:06 CET 2018


Commit: 71139cedcb03001d746338b31e08da6854769832
Author: Campbell Barton
Date:   Thu Mar 15 11:16:32 2018 +1100
Branches: master
https://developer.blender.org/rB71139cedcb03001d746338b31e08da6854769832

Missed last commit

===================================================================

M	source/blender/blenlib/intern/math_bits_inline.c

===================================================================

diff --git a/source/blender/blenlib/intern/math_bits_inline.c b/source/blender/blenlib/intern/math_bits_inline.c
index 3829b9d219c..933ded55d53 100644
--- a/source/blender/blenlib/intern/math_bits_inline.c
+++ b/source/blender/blenlib/intern/math_bits_inline.c
@@ -64,7 +64,9 @@ MINLINE unsigned int bitscan_forward_clear_uint(unsigned int *a)
 
 MINLINE int bitscan_reverse_i(int a)
 {
+#if 0  /* No BLI_assert in INLINE :/ */
 	BLI_assert(a != 0);
+#endif
 #  ifdef _MSC_VER
 	unsigned long clz;
 	_BitScanReverse(&clz, a);



More information about the Bf-blender-cvs mailing list