mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
daemon: remove unnecessary memset in daemon_state_init()
Pull Request: https://github.com/freebsd/freebsd-src/pull/694
This commit is contained in:
parent
cf6356fd47
commit
8117ea0a41
1 changed files with 0 additions and 1 deletions
|
|
@ -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