mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
cpukit/libblock/*: Address unused parameter warnings
Add "(void) param;" annotation to address unused parameter warnings. Found with GCC's warning -Wunused-paramter.
This commit is contained in:
committed by
Gedare Bloom
parent
10c239a583
commit
b505b66866
@@ -2949,6 +2949,8 @@ rtems_bdbuf_set_block_size (rtems_disk_device *dd,
|
||||
static rtems_task
|
||||
rtems_bdbuf_read_ahead_task (rtems_task_argument arg)
|
||||
{
|
||||
(void) arg;
|
||||
|
||||
rtems_chain_control *chain = &bdbuf_cache.read_ahead_chain;
|
||||
|
||||
while (bdbuf_cache.read_ahead_enabled)
|
||||
|
||||
@@ -217,6 +217,10 @@ static int null_handler(
|
||||
void *argp
|
||||
)
|
||||
{
|
||||
(void) dd;
|
||||
(void) req;
|
||||
(void) argp;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user