daemon: remove unnecessary memset in daemon_state_init()

(cherry picked from commit 8117ea0a41)
This commit is contained in:
Ihor Antonov 2023-03-17 22:43:35 -07:00 committed by Kyle Evans
parent edc3bffde2
commit 980ad64271

View file

@ -730,7 +730,6 @@ reopen_log(struct daemon_state *state)
static void
daemon_state_init(struct daemon_state *state)
{
memset(state, 0, sizeof(struct daemon_state));
*state = (struct daemon_state) {
.pipe_fd = { -1, -1 },
.parent_pidfh = NULL,