mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 04:46:46 -05:00
Some warnings removal.
This commit is contained in:
parent
83facb4329
commit
2b421becad
3 changed files with 1 additions and 4 deletions
2
sync.c
2
sync.c
|
|
@ -219,6 +219,7 @@ static int state_sync_process(struct snapraid_state* state, int parity_f, int qa
|
|||
if (!block)
|
||||
continue;
|
||||
|
||||
/* now all the blocks have the hash and the parity computed */
|
||||
block_flag_set(block, BLOCK_HAS_HASH | BLOCK_HAS_PARITY);
|
||||
}
|
||||
|
||||
|
|
@ -273,7 +274,6 @@ int state_sync(struct snapraid_state* state, block_off_t blockstart, block_off_t
|
|||
printf("Syncing...\n");
|
||||
|
||||
blockmax = parity_resize(state);
|
||||
|
||||
size = blockmax * (data_off_t)state->block_size;
|
||||
|
||||
if (blockstart > blockmax) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue