summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2024-04-15 17:34:06 +0200
committerDirk Engling <erdgeist@erdgeist.org>2024-04-15 17:34:06 +0200
commit806a6b99cf140aafa9ac448d76635ae045350246 (patch)
tree59f1eb3709e3d4fedaf7da8456920f46f148eec7
parenta6c47663482479fbad3153a7a9d4dc9f07e11688 (diff)
time_caching_worker never returns, but if it would, it should return a value
-rw-r--r--opentracker.c1
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
648int main(int argc, char **argv) { 649int main(int argc, char **argv) {