From c8add463c486dbb0a885e3ebd784d7e11bd2ce12 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Wed, 29 Jun 2022 12:00:44 +0200 Subject: [PATCH] - Fix compile warning for windows compile. --- doc/Changelog | 1 + smallapp/unbound-control.c | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/Changelog b/doc/Changelog index ac8fd2034..17fa4bacc 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,6 +1,7 @@ 29 June 2022: Wouter - iana portlist update. - Fix detection of libz on windows compile with static option. + - Fix compile warning for windows compile. 29 June 2022: George - Add debug option to the mini_tdir.sh test code. diff --git a/smallapp/unbound-control.c b/smallapp/unbound-control.c index d85eee3a4..d473702c4 100644 --- a/smallapp/unbound-control.c +++ b/smallapp/unbound-control.c @@ -487,6 +487,7 @@ static void print_stats_shm(const char* cfgfile, int quiet) config_delete(cfg); #else (void)cfgfile; + (void)quiet; #endif /* HAVE_SHMGET */ }