mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Remove unneded assignment
It confuses static analyzers.
This commit is contained in:
parent
00e1ca5997
commit
6637d712a3
1 changed files with 0 additions and 2 deletions
|
|
@ -198,7 +198,6 @@ int parity_create(struct snapraid_parity_handle* handle, const struct snapraid_p
|
|||
|
||||
advise_init(&split->advise, mode);
|
||||
pathcpy(split->path, sizeof(split->path), parity->split_map[s].path);
|
||||
split->f = -1;
|
||||
split->size = parity->split_map[s].size;
|
||||
split->limit_size = PARITY_LIMIT(limit_size, s, level);
|
||||
|
||||
|
|
@ -557,7 +556,6 @@ int parity_open(struct snapraid_parity_handle* handle, const struct snapraid_par
|
|||
|
||||
advise_init(&split->advise, mode);
|
||||
pathcpy(split->path, sizeof(split->path), parity->split_map[s].path);
|
||||
split->f = -1;
|
||||
split->size = parity->split_map[s].size;
|
||||
split->limit_size = PARITY_LIMIT(limit_size, s, level);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue