smptests: Fix variable set but not used

Fix this warning.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
Sebastian Huber
2026-03-02 03:17:31 +01:00
parent 69c80e8ec9
commit 632b1a755b

View File

@@ -319,7 +319,6 @@ static void Init( rtems_task_argument arg )
uint32_t cpu_count;
uint32_t enter_count;
uint32_t exit_count;
uint32_t clock_tick_count;
uint32_t res_should_be;
rtems_vector_number vec;
size_t read;
@@ -387,8 +386,6 @@ static void Init( rtems_task_argument arg )
sc = rtems_capture_set_control( false );
rtems_test_assert( sc == RTEMS_SUCCESSFUL );
clock_tick_count = 0;
/* Read out the trace from all processors */
for ( cpu = 0; cpu < cpu_count; cpu++ ) {
sc = rtems_capture_read( cpu, &read, &recs );
@@ -460,7 +457,6 @@ static void Init( rtems_task_argument arg )
rtems_test_assert( res_should_be == exit_rec.res );
break;
case clock_tick:
clock_tick_count++;
#ifdef VERBOSE
rtems_object_get_classic_name( rec.task_id, &name );
printf(