mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
cpukit 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
b42f8a9890
commit
271495beca
@@ -51,6 +51,8 @@ void _CPU_Context_Initialize(
|
||||
void *tls_area
|
||||
)
|
||||
{
|
||||
(void) is_fp;
|
||||
|
||||
const Nios2_MPU_Configuration *mpu_config = _Nios2_MPU_Get_configuration();
|
||||
uint32_t stack = (uint32_t) stack_area_begin + stack_area_size - 4;
|
||||
|
||||
|
||||
@@ -33,5 +33,7 @@
|
||||
|
||||
void _CPU_Exception_frame_print( const CPU_Exception_frame *frame )
|
||||
{
|
||||
(void) frame;
|
||||
|
||||
/* TODO */
|
||||
}
|
||||
|
||||
@@ -152,5 +152,7 @@ void __ISR_Handler(void)
|
||||
|
||||
void __Exception_Handler(CPU_Exception_frame *efr)
|
||||
{
|
||||
(void) efr;
|
||||
|
||||
_Terminate(RTEMS_FATAL_SOURCE_EXCEPTION, 0xECC0); /* source ignored */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user