From fdc6398aed4dba0669272b051e3ef0060d419f23 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 17 Dec 2023 12:51:42 +0100 Subject: Fixed compiler warning --- FICS/command.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/FICS/command.c b/FICS/command.c index aac633a..4796584 100644 --- a/FICS/command.c +++ b/FICS/command.c @@ -904,7 +904,6 @@ PUBLIC int process_heartbeat(int *fd) { int now = time(0); -// int p; int time_since_last; static int last_comfile = 0; static int last_space = 0; @@ -916,6 +915,9 @@ process_heartbeat(int *fd) time_since_last = now - lastcalled; lastcalled = now; + // XXX: unused + (void) time_since_last; + /* * Check for timed out connections */ -- cgit v1.2.3