Avoid some warnings in optimized builds
This commit is contained in:
parent
3484d7f775
commit
a70128a4cf
|
@ -23,7 +23,7 @@ void on_assert_failed(const char* message);
|
||||||
"\" at " __FILE__ ":" TOSTRING(__LINE__)); \
|
"\" at " __FILE__ ":" TOSTRING(__LINE__)); \
|
||||||
} while (false)
|
} while (false)
|
||||||
#else
|
#else
|
||||||
#define kak_assert(...) do {} while(false)
|
#define kak_assert(...) do { (void)sizeof(__VA_ARGS__); } while(false)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user