testsuites/validation/*: Address unused parameter warnings

Fixed many warnings for unused parameters. Some cases were
a simple matter of adding "(void) param" at the beginning
of the function, while others required ensuring that addition
was inside the proper conditional section. Found with GCC's
warning -Wunused-paramter.
This commit is contained in:
Joel Sherrill
2025-09-25 14:41:34 -05:00
parent 9c44cf0090
commit 748758758b
77 changed files with 384 additions and 9 deletions
+6
View File
@@ -64,6 +64,9 @@ void TQWaitForEventsReceived( const TQContext *ctx, TQWorkerKind worker )
while ( !ctx->event_received[ worker ] ) {
/* Wait */
}
#else
(void) ctx;
(void) worker;
#endif
}
@@ -71,6 +74,9 @@ void TQWaitForExecutionStop( const TQContext *ctx, TQWorkerKind worker )
{
#if defined( RTEMS_SMP )
WaitForExecutionStop( ctx->worker_id[ worker ] );
#else
(void) ctx;
(void) worker;
#endif
}