mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-10-06 07:39:46 +00:00
Mark unhittable lines
Add comments for the benefit of the lcov tool, marking lines that cannot be hit. Typically these are fall-back protection arms that are already covered by earlier checks, and so it's not worth taking out the unhittable code (in case someone changes the code between the two places in future).
This commit is contained in:
@ -111,7 +111,7 @@ int ares_library_init(int flags)
|
||||
{
|
||||
res = ares_win32_init();
|
||||
if (res != ARES_SUCCESS)
|
||||
return res;
|
||||
return res; /* LCOV_EXCL_LINE: can't test Win32 init failure */
|
||||
}
|
||||
|
||||
ares_init_flags = flags;
|
||||
|
Reference in New Issue
Block a user