From 37afa2627fcfbb1265c722a4566c2fa19fbe4bfc Mon Sep 17 00:00:00 2001 From: tony-josi-aws Date: Fri, 12 Jan 2024 14:24:26 +0530 Subject: [PATCH] Fix -Werror=unused-parameter in GCC posix prvTimerTickHandler() --- portable/ThirdParty/GCC/Posix/port.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/portable/ThirdParty/GCC/Posix/port.c b/portable/ThirdParty/GCC/Posix/port.c index d5296183aa..d0152169ac 100644 --- a/portable/ThirdParty/GCC/Posix/port.c +++ b/portable/ThirdParty/GCC/Posix/port.c @@ -381,6 +381,8 @@ static uint64_t prvGetTimeNs( void ) static void * prvTimerTickHandler( void * arg ) { + ( void ) arg; + while( xTimerTickThreadShouldRun ) { /*