quiet compiler warning
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user