From 216e8bbe342160af60fa20a70b95c1bef8639695 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 25 Oct 2018 14:51:58 +0900 Subject: [PATCH] udevd: explicitly set default value of global variables --- src/udev/udevd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 2664c8475e..ecec6cafb8 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;