From 6178b1be83a727eb3a5ed2d2d5dc787fc71423d7 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sun, 22 Sep 2013 23:54:19 +0200 Subject: [PATCH] Fixes the computation of the blockmax when importing a text file. --- state.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/state.c b/state.c index 1646871c..214ec75c 100644 --- a/state.c +++ b/state.c @@ -1113,10 +1113,6 @@ static void state_read_text(struct snapraid_state* state, const char* path, STRE deleted->block.parity_pos = v_pos; - /* keep track of the max block number used in parity */ - if (v_pos + 1 > blockmax) - blockmax = v_pos + 1; - /* read the hash */ c = sgetc(f); if (c != ' ') {