From 7452917740bc005cd4605b7be313238c0e9c5099 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 2 Apr 2019 10:08:29 +0200 Subject: [PATCH] tty-ask-password: no need to initialize something already NUL initialized to NUL --- src/tty-ask-password-agent/tty-ask-password-agent.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.39.2