From f2ff13dddf82878a91b4161128d27736d439ff14 Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Sun, 21 Jan 2024 16:14:33 +0100 Subject: [PATCH] void-cast unused parameter --- common/time_util.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/time_util.h b/common/time_util.h index 207e9583..c1840495 100644 --- a/common/time_util.h +++ b/common/time_util.h @@ -40,6 +40,8 @@ typedef long long suseconds_t; inline int gettimeofday(struct timeval* tp, void* tzp) { + (void)tzp; + unsigned long t; t = time(NULL); tp->tv_sec = t / 1000;