mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-30 03:47:05 -05: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;
|
unsigned l;
|
||||||
|
|
||||||
|
memset(&state->opt, 0, sizeof(state->opt));
|
||||||
state->filter_hidden = 0;
|
state->filter_hidden = 0;
|
||||||
state->autosave = 0;
|
state->autosave = 0;
|
||||||
state->need_write = 0;
|
state->need_write = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue