From 7e84931a2eb554b58e205d2dc6f618d1dec8fae7 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Tue, 3 May 2011 19:00:15 +0200 Subject: [PATCH] Removes compiler warnings. --- state.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/state.c b/state.c index 0daaca43..b4a498a6 100644 --- a/state.c +++ b/state.c @@ -584,6 +584,9 @@ void state_write(struct snapraid_state* state) unsigned count_block; tommy_node* node; + count_file = 0; + count_block = 0; + node = tommy_list_head(&state->contentlist); while (node) { struct snapraid_content* content = node->data;