From: Didier Raboud Date: Fri, 14 Dec 2018 14:46:56 +0000 (+0100) Subject: Fix service_idle_exit build issue with -Werror=maybe-unitialized X-Git-Tag: v2.3b7~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a30818495db33e5624c1c24c77f6cde5027f56d9;p=thirdparty%2Fcups.git Fix service_idle_exit build issue with -Werror=maybe-unitialized --- diff --git a/scheduler/main.c b/scheduler/main.c index 5b00efae2e..3b258a70ab 100644 --- a/scheduler/main.c +++ b/scheduler/main.c @@ -129,7 +129,7 @@ main(int argc, /* I - Number of command-line args */ time_t netif_time = 0; /* Time since last network update */ #endif /* __APPLE__ */ #if defined(HAVE_ONDEMAND) - int service_idle_exit; + int service_idle_exit = 0; /* Idle exit on select timeout? */ #endif /* HAVE_ONDEMAND */