mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +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
|
static rtems_task
|
||||||
rtems_bdbuf_read_ahead_task (rtems_task_argument arg)
|
rtems_bdbuf_read_ahead_task (rtems_task_argument arg)
|
||||||
{
|
{
|
||||||
|
(void) arg;
|
||||||
|
|
||||||
rtems_chain_control *chain = &bdbuf_cache.read_ahead_chain;
|
rtems_chain_control *chain = &bdbuf_cache.read_ahead_chain;
|
||||||
|
|
||||||
while (bdbuf_cache.read_ahead_enabled)
|
while (bdbuf_cache.read_ahead_enabled)
|
||||||
|
|||||||
@@ -217,6 +217,10 @@ static int null_handler(
|
|||||||
void *argp
|
void *argp
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
(void) dd;
|
||||||
|
(void) req;
|
||||||
|
(void) argp;
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user