summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/log.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/log.c b/src/log.c
index 79c63a18e7..04e90eb20f 100644
--- a/src/log.c
+++ b/src/log.c
@@ -625,7 +625,6 @@ void log_assert(
const char *format, ...) {
static char buffer[LINE_MAX];
- int saved_errno = errno;
va_list ap;
va_start(ap, format);
@@ -637,9 +636,6 @@ void log_assert(
log_dispatch(LOG_CRIT, file, line, func, buffer);
abort();
-
- /* If the user chose to ignore this SIGABRT, we are happy to go on, as if nothing happened. */
- errno = saved_errno;
}
int log_set_target_from_string(const char *e) {