forked from bartvdbraak/blender
GHOST: don't instantiate assert arg
When debugging is disabled, function calls in an assert should never run.
This commit is contained in:
parent
12661de087
commit
1b72ad0c3d
@ -80,7 +80,7 @@
|
||||
} \
|
||||
} (void)0
|
||||
#else // GHOST_DEBUG
|
||||
# define GHOST_ASSERT(x, info) (void)(x)
|
||||
# define GHOST_ASSERT(x, info) ((void)0)
|
||||
#endif // GHOST_DEBUG
|
||||
|
||||
#endif // __GHOST_DEBUG_H__
|
||||
|
Loading…
Reference in New Issue
Block a user