From 7c48bd9bb7961c0e22d0cf993f76f9adca73357c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 10 Oct 2025 13:59:03 -0500 Subject: [PATCH] bsps/moxie: Address unused parameter warnings Add "(void) param;" annotation to address unused parameter warnings. Found with GCC's warning -Wunused-parameter. --- bsps/moxie/moxiesim/console/console-io.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bsps/moxie/moxiesim/console/console-io.c b/bsps/moxie/moxiesim/console/console-io.c index e3f1c25ef1..92fb60d3ef 100644 --- a/bsps/moxie/moxiesim/console/console-io.c +++ b/bsps/moxie/moxiesim/console/console-io.c @@ -70,6 +70,8 @@ void console_outbyte_polled( char ch ) { + (void) port; + _sys_write( 1, &ch, 1 ); } @@ -83,6 +85,8 @@ int console_inbyte_nonblocking( int port ) { + (void) port; + return -1; }