From c84db2cc1b0ec4976a5fac43c350d955a4fde5b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=95=B0=E5=AD=97=E7=8C=BF?= Date: Tue, 16 Aug 2022 20:58:37 +0800 Subject: [PATCH] fix warning: unused parameter 'curr' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 数字猿 --- services/param/liteos/param_osadp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/param/liteos/param_osadp.c b/services/param/liteos/param_osadp.c index 6a0d3381..7f9b264a 100644 --- a/services/param/liteos/param_osadp.c +++ b/services/param/liteos/param_osadp.c @@ -314,6 +314,8 @@ INIT_LOCAL_API uint32_t Difftime(time_t curr, time_t base) #ifndef __LITEOS_M__ return (uint32_t)difftime(curr, base); #else + (void)curr; + (void)base; return 0; #endif } \ No newline at end of file -- GitLab