quiet compiler warning
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
// From http://cnicholson.net/2009/02/stupid-c-tricks-adventures-in-assert/
|
// 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
|
#else
|
||||||
# include <assert.h>
|
# include <assert.h>
|
||||||
# define rcAssert assert
|
# define rcAssert assert
|
||||||
|
Reference in New Issue
Block a user