mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +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)
|
static intptr_t drvmgr_topo_func(struct drvmgr_dev *dev, void *arg)
|
||||||
{
|
{
|
||||||
|
(void) arg;
|
||||||
|
|
||||||
char prefix[32];
|
char prefix[32];
|
||||||
int depth = dev->parent->depth;
|
int depth = dev->parent->depth;
|
||||||
|
|
||||||
@@ -250,6 +252,8 @@ void drvmgr_summary(void)
|
|||||||
|
|
||||||
static void print_info(void *p, char *str)
|
static void print_info(void *p, char *str)
|
||||||
{
|
{
|
||||||
|
(void) p;
|
||||||
|
|
||||||
printf(" ");
|
printf(" ");
|
||||||
puts(str);
|
puts(str);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user