From 137a55b7127c0aa52059722d20b27748201fd2f9 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sat, 8 Feb 2014 16:52:17 +0100 Subject: [PATCH] Fixes a not initialized variable. --- sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync.c b/sync.c index 8ac8a75d..14e1c6c5 100644 --- a/sync.c +++ b/sync.c @@ -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);