Fixes a not initialized variable.

This commit is contained in:
Andrea Mazzoleni 2014-02-08 16:52:17 +01:00
parent 43fd9daf23
commit 137a55b712

2
sync.c
View file

@ -39,7 +39,7 @@ static int state_hash_process(struct snapraid_state* state, block_off_t blocksta
block_off_t countmax;
int ret;
unsigned error;
int skip_sync;
int skip_sync = 0;
/* maps the disks to handles */
handle = handle_map(state, &diskmax);