quiet compiler warning

This commit is contained in:
Campbell Barton
2012-06-14 10:54:14 +00:00
parent 05a1a31693
commit 17d5ac0abf

View File

@@ -24,7 +24,7 @@
#ifdef NDEBUG
// From http://cnicholson.net/2009/02/stupid-c-tricks-adventures-in-assert/
# define rcAssert(x) do { (void)sizeof(x); } while(__LINE__==-1,false)
# define rcAssert(x) do { (void)sizeof(x); } while((void)(__LINE__ == -1), false)
#else
# include <assert.h>
# define rcAssert assert