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

@@ -374,6 +374,8 @@ static void RtemsIntrReqGetAffinity_Pre_CanGetAffinity_Prepare(
RtemsIntrReqGetAffinity_Pre_CanGetAffinity state
)
{
(void) ctx;
switch ( state ) {
case RtemsIntrReqGetAffinity_Pre_CanGetAffinity_Yes: {
/*
@@ -459,6 +461,8 @@ static void RtemsIntrReqGetAffinity_Post_CPUSetObj_Check(
RtemsIntrReqGetAffinity_Post_CPUSetObj state
)
{
(void) ctx;
switch ( state ) {
case RtemsIntrReqGetAffinity_Post_CPUSetObj_Set: {
/*