]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udevd: explicitly set default value of global variables
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 25 Oct 2018 05:51:58 +0000 (14:51 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 12 Nov 2018 14:12:06 +0000 (23:12 +0900)
src/udev/udevd.c

index 2664c8475e42fd7bb148c620e0e8c9e683c2f6e0..ecec6cafb816e4a503152ee5e0a73e42e810ff80 100644 (file)
@@ -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;