diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-02-22 23:00:54 +0000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-02-23 00:03:11 +0000 |
| commit | 7a143a7f7cf25bd2ef8b14a13d0bd31d20a12dfc (patch) | |
| tree | 6a64276511b0890df00d2e3a207688c7c9c3e740 /src | |
| parent | 98cfbc7c3c6a533f3202cdee10019774daaa0b07 (diff) | |
Use false instead of 0 in the kak_assert do while
Diffstat (limited to 'src')
| -rw-r--r-- | src/assert.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/assert.hh b/src/assert.hh index 406420d8..87a1da3e 100644 --- a/src/assert.hh +++ b/src/assert.hh @@ -21,9 +21,9 @@ void on_assert_failed(const char* message); if (not (__VA_ARGS__)) \ on_assert_failed("assert failed \"" #__VA_ARGS__ \ "\" at " __FILE__ ":" TOSTRING(__LINE__)); \ - } while (0) + } while (false) #else - #define kak_assert(...) do {} while (0) + #define kak_assert(...) do {} while(false) #endif |
