From: Miroslav Lichvar Date: Mon, 26 Jan 2026 14:39:54 +0000 (+0100) Subject: cmdmon: drop unused variable X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=b6f1650e7adfe6d5ff116ef2bf9bd455f6dd4e94;p=thirdparty%2Fchrony.git cmdmon: drop unused variable --- diff --git a/cmdmon.c b/cmdmon.c index 08d1ceff..24eb9c01 100644 --- a/cmdmon.c +++ b/cmdmon.c @@ -1603,7 +1603,7 @@ read_from_cmd_socket(int sock_fd, int event, void *anything) CMD_Reply tx_message; IPAddr loopback_addr, remote_ip; uint16_t rx_command; - struct timespec now, cooked_now; + struct timespec cooked_now; sck_message = SCK_ReceiveMessage(sock_fd, 0); if (!sck_message) @@ -1612,7 +1612,7 @@ read_from_cmd_socket(int sock_fd, int event, void *anything) read_length = sck_message->length; /* Get current time cheaply */ - SCH_GetLastEventTime(&cooked_now, NULL, &now); + SCH_GetLastEventTime(&cooked_now, NULL, NULL); /* Check if the request came from the Unix domain socket, or network and whether the address is allowed (127.0.0.1 and ::1 is always allowed) */