From: Lennart Poettering Date: Tue, 2 Apr 2019 08:08:29 +0000 (+0200) Subject: tty-ask-password: no need to initialize something already NUL initialized to NUL X-Git-Tag: v242-rc1~10^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7452917740bc005cd4605b7be313238c0e9c5099;p=thirdparty%2Fsystemd.git tty-ask-password: no need to initialize something already NUL initialized to NUL --- diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c index 4e31eb8b6cf..4633779837a 100644 --- a/src/tty-ask-password-agent/tty-ask-password-agent.c +++ b/src/tty-ask-password-agent/tty-ask-password-agent.c @@ -709,7 +709,6 @@ static int ask_on_this_console(const char *tty, pid_t *ret_pid, char *argv[]) { assert_se(sigprocmask_many(SIG_UNBLOCK, NULL, SIGHUP, SIGCHLD, -1) >= 0); - assert_se(sigemptyset(&sig.sa_mask) >= 0); assert_se(sigaction(SIGCHLD, &sig, NULL) >= 0); sig.sa_handler = SIG_DFL;