mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Fixes the computation of the blockmax when importing a text file.
This commit is contained in:
parent
013306e325
commit
6178b1be83
1 changed files with 0 additions and 4 deletions
4
state.c
4
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 != ' ') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue