cpukit/libtrace/*: Address unused parameter warnings

Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-paramter.
This commit is contained in:
Joel Sherrill
2025-09-25 19:13:30 -05:00
committed by Gedare Bloom
parent ae1dd64548
commit d8f2967b63
3 changed files with 12 additions and 0 deletions

View File

@@ -49,6 +49,8 @@ void _Record_Fatal_dump_base64(
Internal_errors_t code
)
{
(void) always_set_to_false;
ISR_lock_Context lock_context;
Per_CPU_Control *cpu_self;
rtems_record_context record_context;

View File

@@ -51,6 +51,8 @@ void _Record_Fatal_dump_base64_zlib(
Internal_errors_t code
)
{
(void) always_set_to_false;
ISR_lock_Context lock_context;
Per_CPU_Control *cpu_self;
rtems_record_context record_context;

View File

@@ -37,6 +37,8 @@ bool _Record_Thread_create(
struct _Thread_Control *created
)
{
(void) executing;
rtems_record_data data;
char name[ 2 * THREAD_DEFAULT_MAXIMUM_NAME_SIZE ];
rtems_record_item items[ 1 + sizeof( name ) / sizeof( data ) ];
@@ -64,6 +66,8 @@ void _Record_Thread_start(
struct _Thread_Control *started
)
{
(void) executing;
rtems_record_produce(
RTEMS_RECORD_THREAD_START,
started->Object.id
@@ -75,6 +79,8 @@ void _Record_Thread_restart(
struct _Thread_Control *restarted
)
{
(void) executing;
rtems_record_produce(
RTEMS_RECORD_THREAD_RESTART,
restarted->Object.id
@@ -86,6 +92,8 @@ void _Record_Thread_delete(
struct _Thread_Control *deleted
)
{
(void) executing;
rtems_record_produce(
RTEMS_RECORD_THREAD_DELETE,
deleted->Object.id