GHOST: don't instantiate assert arg

When debugging is disabled, function calls in an assert should never run.
This commit is contained in:
Campbell Barton 2015-04-09 13:55:46 +10:00
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__