From: Yu Watanabe Date: Thu, 25 Oct 2018 05:51:58 +0000 (+0900) Subject: udevd: explicitly set default value of global variables X-Git-Tag: v240~346^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=216e8bbe342160af60fa20a70b95c1bef8639695;p=thirdparty%2Fsystemd.git udevd: explicitly set default value of global variables --- diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 2664c8475e4..ecec6cafb81 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -62,8 +62,8 @@ static bool arg_debug = false; static int arg_daemonize = false; static int arg_resolve_names = 1; -static unsigned arg_children_max; -static int arg_exec_delay; +static unsigned arg_children_max = 0; +static int arg_exec_delay = 0; static usec_t arg_event_timeout_usec = 180 * USEC_PER_SEC; static usec_t arg_event_timeout_warn_usec = 180 * USEC_PER_SEC / 3;