From c053ffeacc655a8d2610c63f388f2fc1210b096d Mon Sep 17 00:00:00 2001 From: Tony Josi Date: Sat, 13 Jan 2024 21:43:05 +0530 Subject: [PATCH] Fix -Werror=unused-parameter in GCC posix prvTimerTickHandler() (#949) --- 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 d5296183aac..d0152169ac5 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 ) { /*