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 08:45:19 -05:00
parent 9c44cf0090
commit 748758758b
77 changed files with 384 additions and 9 deletions

View File

@@ -244,6 +244,8 @@ static bool RtemsEventReqPerfIsrPreempt_Teardown(
unsigned int retry
)
{
(void) retry;
T_quiet_rsc_success( ctx->status );
*delta = ctx->end - ctx->begin;
@@ -317,6 +319,9 @@ static bool RtemsEventReqPerfOther_Teardown(
unsigned int retry
)
{
(void) delta;
(void) retry;
T_quiet_rsc_success( ctx->status );
SetPriority( ctx->worker_id, PRIO_HIGH );
@@ -454,6 +459,9 @@ static bool RtemsEventReqPerfOtherNotSatisfied_Teardown(
unsigned int retry
)
{
(void) delta;
(void) retry;
T_quiet_rsc_success( ctx->status );
Send( ctx, EVENT_END );
@@ -521,6 +529,8 @@ static bool RtemsEventReqPerfOtherPreempt_Teardown(
unsigned int retry
)
{
(void) retry;
T_quiet_rsc_success( ctx->status );
*delta = ctx->end - ctx->begin;