[Bf-blender-cvs] [22ab8523fa2] experimental-build: Some moar fixes.

Bastien Montagne noreply at git.blender.org
Thu Nov 23 16:44:41 CET 2017


Commit: 22ab8523fa240ecda5cc218514d6255a2ea752df
Author: Bastien Montagne
Date:   Thu Nov 23 16:44:26 2017 +0100
Branches: experimental-build
https://developer.blender.org/rB22ab8523fa240ecda5cc218514d6255a2ea752df

Some moar fixes.

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

M	source/blender/blenlib/BLI_utildefines.h

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

diff --git a/source/blender/blenlib/BLI_utildefines.h b/source/blender/blenlib/BLI_utildefines.h
index 389f433426e..dd4dab717bc 100644
--- a/source/blender/blenlib/BLI_utildefines.h
+++ b/source/blender/blenlib/BLI_utildefines.h
@@ -669,14 +669,14 @@ extern bool BLI_memory_is_zero(const void *arr, const size_t arr_size);
    /* These can't be used after statements in c89. */
 #  if defined(__COUNTER__)  /* MSVC */
 #    define BLI_STATIC_ASSERT(a, msg) \
-         ; enum { ASSERT_CONCAT(static_assert_, __COUNTER__) = 1 / (int)(!!(a)) }
+         ; enum { ASSERT_CONCAT(static_assert_, __COUNTER__) = 1 / (int)(!!(a)) };
 #  else  /* older gcc, clang... */
     /* This can't be used twice on the same line so ensure if using in headers
      * that the headers are not included twice (by wrapping in #ifndef...#endif)
      * Note it doesn't cause an issue when used on same line of separate modules
      * compiled with gcc -combine -fwhole-program. */
 #    define BLI_STATIC_ASSERT(a, msg) \
-         ; enum { ASSERT_CONCAT(assert_line_, __LINE__) = 1 / (int)(!!(a)) }
+         ; enum { ASSERT_CONCAT(assert_line_, __LINE__) = 1 / (int)(!!(a)) };
 #  endif
 #endif



More information about the Bf-blender-cvs mailing list