mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-27 06:58:19 +00:00
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:
@@ -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: {
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user