diff --git a/src/assert.hh b/src/assert.hh index 87a1da3e..3d807ea6 100644 --- a/src/assert.hh +++ b/src/assert.hh @@ -23,7 +23,7 @@ void on_assert_failed(const char* message); "\" at " __FILE__ ":" TOSTRING(__LINE__)); \ } while (false) #else - #define kak_assert(...) do {} while(false) + #define kak_assert(...) do { (void)sizeof(__VA_ARGS__); } while(false) #endif