mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Some missing coverage exclusions
This commit is contained in:
parent
405a3648e0
commit
06cbc7d482
1 changed files with 6 additions and 1 deletions
|
|
@ -3111,7 +3111,9 @@ static void state_write_content(struct snapraid_state* state, uint32_t* out_crc)
|
|||
retval = context->retval;
|
||||
#endif
|
||||
if (retval) {
|
||||
/* LCOV_EXCL_START */
|
||||
fail = 1;
|
||||
/* LCOV_EXCL_STOP */
|
||||
} else {
|
||||
if (first) {
|
||||
first = 0;
|
||||
|
|
@ -3425,8 +3427,11 @@ static void state_verify_content(struct snapraid_state* state, uint32_t crc)
|
|||
#else
|
||||
retval = context->retval;
|
||||
#endif
|
||||
if (retval)
|
||||
if (retval) {
|
||||
/* LCOV_EXCL_START */
|
||||
fail = 1;
|
||||
/* LCOV_EXCL_STOP */
|
||||
}
|
||||
|
||||
free(context);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue