From a41f6217baf991bb5f0a480e3aec143c5d73bbd3 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 10 Jan 2018 10:22:35 +0900 Subject: [PATCH] process-util: initialize block_signals CID 1384240. --- src/basic/process-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/process-util.c b/src/basic/process-util.c index d74813d..ce6c064 100644 --- a/src/basic/process-util.c +++ b/src/basic/process-util.c @@ -1162,7 +1162,7 @@ int safe_fork_full( pid_t original_pid, pid; sigset_t saved_ss, ss; - bool block_signals; + bool block_signals = false; int prio, r; /* A wrapper around fork(), that does a couple of important initializations in addition to mere forking. Always -- 2.7.4