diff --git a/cpukit/libtrace/record/record-dump-fatal.c b/cpukit/libtrace/record/record-dump-fatal.c index c3b4656a34..715c3758f5 100644 --- a/cpukit/libtrace/record/record-dump-fatal.c +++ b/cpukit/libtrace/record/record-dump-fatal.c @@ -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; diff --git a/cpukit/libtrace/record/record-dump-zfatal.c b/cpukit/libtrace/record/record-dump-zfatal.c index 836439dc6a..aa90feb445 100644 --- a/cpukit/libtrace/record/record-dump-zfatal.c +++ b/cpukit/libtrace/record/record-dump-zfatal.c @@ -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; diff --git a/cpukit/libtrace/record/record-userext.c b/cpukit/libtrace/record/record-userext.c index 873819ad0c..6c969eff82 100644 --- a/cpukit/libtrace/record/record-userext.c +++ b/cpukit/libtrace/record/record-userext.c @@ -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