diff --git a/src/basic/log.c b/src/basic/log.c index c6fe203808..899a8423f2 100644 --- a/src/basic/log.c +++ b/src/basic/log.c @@ -838,7 +838,6 @@ _noreturn_ void log_assert_failed_realm( const char *file, int line, const char *func) { - (void) log_open(); log_assert(LOG_REALM_PLUS_LEVEL(realm, LOG_CRIT), text, file, line, func, "Assertion '%s' failed at %s:%u, function %s(). Aborting."); abort(); @@ -850,7 +849,6 @@ _noreturn_ void log_assert_failed_unreachable_realm( const char *file, int line, const char *func) { - (void) log_open(); log_assert(LOG_REALM_PLUS_LEVEL(realm, LOG_CRIT), text, file, line, func, "Code should not be reached '%s' at %s:%u, function %s(). Aborting."); abort();