Changeset - r25589:cd877c43926d
[Not reviewed]
master
0 1 0
Patric Stout - 3 years ago 2021-06-03 14:21:32
truebrain@openttd.org
Codechange: remove unused assert_msg() macro
1 file changed with 0 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/stdafx.h
Show inline comments
 
@@ -438,9 +438,6 @@ void NORETURN CDECL error(const char *st
 
/* Asserts are enabled if NDEBUG isn't defined or WITH_ASSERT is defined. */
 
#if !defined(NDEBUG) || defined(WITH_ASSERT)
 
#	define OTTD_ASSERT
 
#	define assert_msg(expression, msg, ...) if (unlikely(!(expression))) error("Assertion failed at line %i of %s: %s\n\t" msg, __LINE__, __FILE__, #expression, __VA_ARGS__);
 
#else
 
#	define assert_msg(expression, msg, ...)
 
#endif
 

	
 
#if defined(OPENBSD)
0 comments (0 inline, 0 general)