Ensure to initialize opt state for --gen-conf command.

This commit is contained in:
Andrea Mazzoleni 2013-12-24 21:46:00 +01:00
parent 7ef838072f
commit e55723ecdd

View file

@ -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;