mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
quiet compiler warning
This commit is contained in:
parent
05a1a31693
commit
17d5ac0abf
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue