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.