diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2024-04-15 17:34:06 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2024-04-15 17:34:06 +0200 |
commit | 806a6b99cf140aafa9ac448d76635ae045350246 (patch) | |
tree | 59f1eb3709e3d4fedaf7da8456920f46f148eec7 | |
parent | a6c47663482479fbad3153a7a9d4dc9f07e11688 (diff) |
time_caching_worker never returns, but if it would, it should return a value
-rw-r--r-- | opentracker.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opentracker.c b/opentracker.c index 392f6df..01cb501 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -643,6 +643,7 @@ static void *time_caching_worker(void *args) { | |||
643 | g_now_seconds = time(NULL); | 643 | g_now_seconds = time(NULL); |
644 | sleep(5); | 644 | sleep(5); |
645 | } | 645 | } |
646 | return NULL; | ||
646 | } | 647 | } |
647 | 648 | ||
648 | int main(int argc, char **argv) { | 649 | int main(int argc, char **argv) { |