mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
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:
committed by
Gedare Bloom
parent
ae1dd64548
commit
d8f2967b63
@@ -49,6 +49,8 @@ void _Record_Fatal_dump_base64(
|
|||||||
Internal_errors_t code
|
Internal_errors_t code
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
(void) always_set_to_false;
|
||||||
|
|
||||||
ISR_lock_Context lock_context;
|
ISR_lock_Context lock_context;
|
||||||
Per_CPU_Control *cpu_self;
|
Per_CPU_Control *cpu_self;
|
||||||
rtems_record_context record_context;
|
rtems_record_context record_context;
|
||||||
|
|||||||
@@ -51,6 +51,8 @@ void _Record_Fatal_dump_base64_zlib(
|
|||||||
Internal_errors_t code
|
Internal_errors_t code
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
(void) always_set_to_false;
|
||||||
|
|
||||||
ISR_lock_Context lock_context;
|
ISR_lock_Context lock_context;
|
||||||
Per_CPU_Control *cpu_self;
|
Per_CPU_Control *cpu_self;
|
||||||
rtems_record_context record_context;
|
rtems_record_context record_context;
|
||||||
|
|||||||
@@ -37,6 +37,8 @@ bool _Record_Thread_create(
|
|||||||
struct _Thread_Control *created
|
struct _Thread_Control *created
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
(void) executing;
|
||||||
|
|
||||||
rtems_record_data data;
|
rtems_record_data data;
|
||||||
char name[ 2 * THREAD_DEFAULT_MAXIMUM_NAME_SIZE ];
|
char name[ 2 * THREAD_DEFAULT_MAXIMUM_NAME_SIZE ];
|
||||||
rtems_record_item items[ 1 + sizeof( name ) / sizeof( data ) ];
|
rtems_record_item items[ 1 + sizeof( name ) / sizeof( data ) ];
|
||||||
@@ -64,6 +66,8 @@ void _Record_Thread_start(
|
|||||||
struct _Thread_Control *started
|
struct _Thread_Control *started
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
(void) executing;
|
||||||
|
|
||||||
rtems_record_produce(
|
rtems_record_produce(
|
||||||
RTEMS_RECORD_THREAD_START,
|
RTEMS_RECORD_THREAD_START,
|
||||||
started->Object.id
|
started->Object.id
|
||||||
@@ -75,6 +79,8 @@ void _Record_Thread_restart(
|
|||||||
struct _Thread_Control *restarted
|
struct _Thread_Control *restarted
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
(void) executing;
|
||||||
|
|
||||||
rtems_record_produce(
|
rtems_record_produce(
|
||||||
RTEMS_RECORD_THREAD_RESTART,
|
RTEMS_RECORD_THREAD_RESTART,
|
||||||
restarted->Object.id
|
restarted->Object.id
|
||||||
@@ -86,6 +92,8 @@ void _Record_Thread_delete(
|
|||||||
struct _Thread_Control *deleted
|
struct _Thread_Control *deleted
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
(void) executing;
|
||||||
|
|
||||||
rtems_record_produce(
|
rtems_record_produce(
|
||||||
RTEMS_RECORD_THREAD_DELETE,
|
RTEMS_RECORD_THREAD_DELETE,
|
||||||
deleted->Object.id
|
deleted->Object.id
|
||||||
|
|||||||
Reference in New Issue
Block a user