mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 20:36:38 -05:00
Excludes handling of error condition from the coverage test.
This commit is contained in:
parent
f0cecf55c8
commit
24fd5ab318
17 changed files with 841 additions and 5 deletions
5
handle.c
5
handle.c
|
|
@ -428,9 +428,10 @@ struct snapraid_handle* handle_map(struct snapraid_state* state, unsigned* handl
|
|||
break;
|
||||
}
|
||||
if (k==0) {
|
||||
fprintf(stderr, "Inconsistent disk mapping.\n");
|
||||
/* LCOV_EXCL_START */
|
||||
fprintf(stderr, "Internal error for inconsistent disk mapping.\n");
|
||||
exit(EXIT_FAILURE);
|
||||
continue;
|
||||
/* LCOV_EXCL_STOP */
|
||||
}
|
||||
|
||||
handle[map->position].disk = disk;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue