mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-28 23:40:15 +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:
@@ -210,6 +210,8 @@ static const char * const * const RtemsUserextReqCreate_PreDesc[] = {
|
||||
|
||||
static rtems_status_code Create( void *arg, uint32_t *id )
|
||||
{
|
||||
(void) arg;
|
||||
|
||||
static const rtems_extensions_table table;
|
||||
|
||||
return rtems_extension_create(
|
||||
@@ -544,6 +546,8 @@ static inline RtemsUserextReqCreate_Entry RtemsUserextReqCreate_PopEntry(
|
||||
RtemsUserextReqCreate_Context *ctx
|
||||
)
|
||||
{
|
||||
(void) ctx;
|
||||
|
||||
size_t index;
|
||||
|
||||
index = ctx->Map.index;
|
||||
|
||||
Reference in New Issue
Block a user