mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
bsps/nios2: 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
44b86391e1
commit
a0028bdf4a
@@ -38,6 +38,8 @@ static rtems_interrupt_entry timer_interrupt;
|
||||
|
||||
static rtems_isr timerisr(void *vector)
|
||||
{
|
||||
(void) vector;
|
||||
|
||||
TIMER_REGS->status = 0;
|
||||
Timer_interrupts++;
|
||||
}
|
||||
|
||||
@@ -57,6 +57,8 @@ int console_inbyte_nonblocking(
|
||||
int port
|
||||
)
|
||||
{
|
||||
(void) port;
|
||||
|
||||
char ch;
|
||||
|
||||
/*
|
||||
@@ -75,6 +77,8 @@ void console_outbyte_polled(
|
||||
char ch
|
||||
)
|
||||
{
|
||||
(void) port;
|
||||
|
||||
altera_avalon_jtag_uart_regs *ajur = NIOS2_IO_BASE(JTAG_UART_BASE);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user