summaryrefslogtreecommitdiff
path: root/src/assert.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/assert.hh')
-rw-r--r--src/assert.hh2
1 files changed, 1 insertions, 1 deletions
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