mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-14 12:23:58 +00:00
daemon: remove unnecessary memset in daemon_state_init()
(cherry picked from commit 8117ea0a41
)
This commit is contained in:
parent
edc3bffde2
commit
980ad64271
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue