From eaa8f2fcb2108644f7b8fc3e45be810ab9a7d8e7 Mon Sep 17 00:00:00 2001 From: "Nicholas J. Kain" <nicholas@kain.us> Date: Mon, 10 Mar 2014 19:44:37 -0400 Subject: [PATCH] Fix warnings for state.c. --- ndhc/state.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ndhc/state.c b/ndhc/state.c index 59af99d..679fb65 100644 --- a/ndhc/state.c +++ b/ndhc/state.c @@ -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) { + (void)cs; + (void)nowts; 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)cs; log_line("nl: %s carrier down.", client_config.interface); }