Some missing coverage exclusions

This commit is contained in:
Andrea Mazzoleni 2015-10-31 16:29:08 +01:00
parent 405a3648e0
commit 06cbc7d482

View file

@ -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);