X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/d3a538c8fee9f31b29947ad73445f50902140899..89b1a5980cf39a0f34186a4c91c3b316c7b2f831:/src/src/daemon.c diff --git a/src/src/daemon.c b/src/src/daemon.c index 8c9abc7dc..c376f27c7 100644 --- a/src/src/daemon.c +++ b/src/src/daemon.c @@ -59,7 +59,6 @@ Returns: nothing static void sighup_handler(int sig) { -sig = sig; /* Keep picky compilers happy */ sighup_seen = TRUE; signal(SIGHUP, sighup_handler); } @@ -83,7 +82,6 @@ Returns: nothing static void main_sigchld_handler(int sig) { -sig = sig; /* Keep picky compilers happy */ os_non_restarting_signal(SIGCHLD, SIG_DFL); sigchld_seen = TRUE; } @@ -952,8 +950,7 @@ if ((f = Ufopen(pid_file_path, "rb"))) } else DEBUG(D_any) - debug_printf("%s\n", string_open_failed(errno, "pid file %s", - pid_file_path)); + debug_printf("%s\n", string_open_failed("pid file %s", pid_file_path)); exim_exit(EXIT_SUCCESS); } @@ -1824,8 +1821,7 @@ if (f.running_in_test_harness || write_pid) } else DEBUG(D_any) - debug_printf("%s\n", string_open_failed(errno, "pid file %s", - pid_file_path)); + debug_printf("%s\n", string_open_failed("pid file %s", pid_file_path)); } /* Set up the handler for SIGHUP, which causes a restart of the daemon. */