From 81819f711e6d1f9216f688da8ecbbc682d106d9c Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 23 Nov 2023 00:52:35 +0100 Subject: LibC: Reduce warnings in code --- userland/libc/time/localtime.c | 1 + 1 file changed, 1 insertion(+) (limited to 'userland/libc/time/localtime.c') diff --git a/userland/libc/time/localtime.c b/userland/libc/time/localtime.c index 40ca351..8ad74d8 100644 --- a/userland/libc/time/localtime.c +++ b/userland/libc/time/localtime.c @@ -16,6 +16,7 @@ // https://pubs.opengroup.org/onlinepubs/9699919799/functions/localtime.html struct tm *localtime(const time_t *timer) { + (void)timer; // TODO: Implement return &localtime_r; } -- cgit v1.2.3