mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Ensure to initialize opt state for --gen-conf command.
This commit is contained in:
parent
7ef838072f
commit
e55723ecdd
1 changed files with 1 additions and 0 deletions
1
state.c
1
state.c
|
|
@ -74,6 +74,7 @@ void state_init(struct snapraid_state* state)
|
|||
{
|
||||
unsigned l;
|
||||
|
||||
memset(&state->opt, 0, sizeof(state->opt));
|
||||
state->filter_hidden = 0;
|
||||
state->autosave = 0;
|
||||
state->need_write = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue