mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 04:24:45 +00:00
bsps/moxie: Address unused parameter warnings
Add "(void) param;" annotation to address unused parameter warnings. Found with GCC's warning -Wunused-parameter.
This commit is contained in:
committed by
Gedare Bloom
parent
a0028bdf4a
commit
7c48bd9bb7
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user