Remove unused variable warnings when omitting stuff at compile-time.

This commit is contained in:
Vladislav Grishenko authored and Simon Kelley committed 2013-09-24 16:18:49 +01:00
1 parent b5d9a362b4
commit 408c368fa5
7 files changed
+22

No files matched your search

+2
View File
@@ -402,6 +402,8 @@ static int nl_async(struct nlmsghdr *h)
static void nl_newaddress(time_t now)
{
(void)now;
if (option_bool(OPT_CLEVERBIND) || daemon->doing_dhcp6 || daemon->relay6 || daemon->doing_ra)
enumerate_interfaces(0);