Fixes the computation of the blockmax when importing a text file.

This commit is contained in:
Andrea Mazzoleni 2013-09-22 23:54:19 +02:00
parent 013306e325
commit 6178b1be83

View file

@ -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 != ' ') {