diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-17 12:51:42 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-17 12:51:42 +0100 |
commit | fdc6398aed4dba0669272b051e3ef0060d419f23 (patch) | |
tree | 0bf43e6efc13b0229af6daacd2abe6bc081f4725 | |
parent | b6b80ad49c17bcd37ebb0421a522ba7b7ab66351 (diff) |
Fixed compiler warning
-rw-r--r-- | FICS/command.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 */ |