diff options
Diffstat (limited to 'sway/log.c')
-rw-r--r-- | sway/log.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -105,15 +105,15 @@ bool _sway_assert(bool condition, const char* format, ...) { return true; } -#ifndef NDEBUG - raise(SIGABRT); -#endif - va_list args; va_start(args, format); sway_log(L_ERROR, format, args); va_end(args); +#ifndef NDEBUG + raise(SIGABRT); +#endif + return false; } |