]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix warning for unused variable for compilation without systemd.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 14 Aug 2019 14:08:19 +0000 (16:08 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 14 Aug 2019 14:08:19 +0000 (16:08 +0200)
daemon/daemon.c
doc/Changelog

index 3219d3095bcbbd3d43cb480191655aef7041e5bd..96cc443ea3b2595758bb1f2a48678872664827bf 100644 (file)
@@ -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()))
index 36909725aa8d2b903a1868027c2303ed6e81e34c..836dc47cb0a355420c964ae4d107a616a62dd0fd 100644 (file)
@@ -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.