Fix warnings for state.c.
This commit is contained in:
parent
151ed60de1
commit
eaa8f2fcb2
@ -186,6 +186,8 @@ static void rebinding_timeout(struct client_state_t *cs, long long nowts)
|
|||||||
|
|
||||||
static void released_timeout(struct client_state_t *cs, long long nowts)
|
static void released_timeout(struct client_state_t *cs, long long nowts)
|
||||||
{
|
{
|
||||||
|
(void)cs;
|
||||||
|
(void)nowts;
|
||||||
dhcp_wake_ts = -1;
|
dhcp_wake_ts = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -369,6 +371,7 @@ void ifdown_action(struct client_state_t *cs)
|
|||||||
|
|
||||||
void ifnocarrier_action(struct client_state_t *cs)
|
void ifnocarrier_action(struct client_state_t *cs)
|
||||||
{
|
{
|
||||||
|
(void)cs;
|
||||||
log_line("nl: %s carrier down.", client_config.interface);
|
log_line("nl: %s carrier down.", client_config.interface);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user