From: W.C.A. Wijngaards Date: Wed, 14 Aug 2019 14:08:19 +0000 (+0200) Subject: - Fix warning for unused variable for compilation without systemd. X-Git-Tag: release-1.9.3rc1~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8cb3656b3e140a836f3c436a4868876a71953469;p=thirdparty%2Funbound.git - Fix warning for unused variable for compilation without systemd. --- diff --git a/daemon/daemon.c b/daemon/daemon.c index 3219d3095..96cc443ea 100644 --- a/daemon/daemon.c +++ b/daemon/daemon.c @@ -575,7 +575,9 @@ void daemon_fork(struct daemon* daemon) { int have_view_respip_cfg = 0; +#ifdef HAVE_SYSTEMD int ret; +#endif log_assert(daemon); if(!(daemon->views = views_create())) diff --git a/doc/Changelog b/doc/Changelog index 36909725a..836dc47cb 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -4,6 +4,7 @@ 14 August 2019: Wouter - Generate configlexer with newer flex. + - Fix warning for unused variable for compilation without systemd. 12 August 2019: George - Introduce `-V` option to print the version number and build options.