mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 12:26:38 -05:00
Increases a little the code coverage in testing.
This commit is contained in:
parent
1cd6c1ddde
commit
6d4d75ad0b
3 changed files with 7 additions and 4 deletions
|
|
@ -2150,11 +2150,13 @@ static void state_read_text(struct snapraid_state* state, const char* path, STRE
|
|||
|
||||
/* if no info is present */
|
||||
if (!info) {
|
||||
/* LCOV_EXCL_START */
|
||||
/* set a fake info block */
|
||||
info = info_make(save_time, 0, 0);
|
||||
|
||||
/* insert the info in the array */
|
||||
info_set(&state->infoarr, b, info);
|
||||
/* LCOV_EXCL_STOP */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue