Marked unused parameters in core code as such.
This commit is contained in:
parent
e98bc2ea9b
commit
7c103b1ee1
5 changed files with 5 additions and 5 deletions
|
@ -210,7 +210,7 @@ config_do_commit(struct config *c)
|
|||
}
|
||||
|
||||
static void
|
||||
config_done(void *unused)
|
||||
config_done(void *unused UNUSED)
|
||||
{
|
||||
struct config *c;
|
||||
|
||||
|
|
|
@ -153,7 +153,7 @@ olock_acquire(struct object_lock *l)
|
|||
}
|
||||
|
||||
static void
|
||||
olock_run_event(void *unused)
|
||||
olock_run_event(void *unused UNUSED)
|
||||
{
|
||||
node *n;
|
||||
struct object_lock *q;
|
||||
|
|
|
@ -25,7 +25,7 @@ password_goodness(struct password_item *i)
|
|||
}
|
||||
|
||||
struct password_item *
|
||||
get_best_password(struct password_item *head, int flags)
|
||||
get_best_password(struct password_item *head, int flags UNUSED)
|
||||
{
|
||||
int good = -1;
|
||||
struct password_item *best = NULL;
|
||||
|
|
|
@ -619,7 +619,7 @@ proto_notify_state(struct proto *p, unsigned ps)
|
|||
}
|
||||
|
||||
static void
|
||||
proto_flush_all(void *unused)
|
||||
proto_flush_all(void *unused UNUSED)
|
||||
{
|
||||
struct proto *p;
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ fib_hash(struct fib *f, ip_addr *a)
|
|||
}
|
||||
|
||||
static void
|
||||
fib_dummy_init(struct fib_node *dummy)
|
||||
fib_dummy_init(struct fib_node *dummy UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue