aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-17 12:51:42 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-17 12:51:42 +0100
commitfdc6398aed4dba0669272b051e3ef0060d419f23 (patch)
tree0bf43e6efc13b0229af6daacd2abe6bc081f4725 /FICS
parentb6b80ad49c17bcd37ebb0421a522ba7b7ab66351 (diff)
Fixed compiler warning
Diffstat (limited to 'FICS')
-rw-r--r--FICS/command.c4
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
*/