diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-04-02 10:08:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-04-02 10:19:22 +0200 |
commit | 7452917740bc005cd4605b7be313238c0e9c5099 (patch) | |
tree | 873c90703bc5363dff0cfd4a7aa7f343adc8999b | |
parent | 4bec7f09f8b1facd125e4897bb80bcf931adbe79 (diff) | |
download | systemd-7452917740bc005cd4605b7be313238c0e9c5099.tar.gz |
tty-ask-password: no need to initialize something already NUL initialized to NUL
-rw-r--r-- | src/tty-ask-password-agent/tty-ask-password-agent.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 4e31eb8b6c..4633779837 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; |