mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
cpukit/libdrvmgr/*: 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
c4698dfc0c
commit
d8977880ca
@@ -100,6 +100,8 @@ void drvmgr_print_devs(unsigned int options)
|
||||
|
||||
static intptr_t drvmgr_topo_func(struct drvmgr_dev *dev, void *arg)
|
||||
{
|
||||
(void) arg;
|
||||
|
||||
char prefix[32];
|
||||
int depth = dev->parent->depth;
|
||||
|
||||
@@ -250,6 +252,8 @@ void drvmgr_summary(void)
|
||||
|
||||
static void print_info(void *p, char *str)
|
||||
{
|
||||
(void) p;
|
||||
|
||||
printf(" ");
|
||||
puts(str);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user