mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
contrib/cpukit/uuid/gen_uuid.c: 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
53d6794ea5
commit
cce1823e40
@@ -322,6 +322,8 @@ static int get_node_id(unsigned char *node_id)
|
||||
}
|
||||
}
|
||||
close(sd);
|
||||
#else
|
||||
(void) node_id;
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
@@ -578,6 +580,10 @@ static int get_uuid_via_daemon(int op, uuid_t out, int *num)
|
||||
|
||||
fail:
|
||||
close(s);
|
||||
#else
|
||||
(void) op;
|
||||
(void) out;
|
||||
(void) num;
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user