Skip to content

Commit 68a1939

Browse files
committed
Exclude coverage of label prior to unreachable call
1 parent 1f83e10 commit 68a1939

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/decimal/charconv.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,10 @@ BOOST_DECIMAL_CONSTEXPR auto to_chars_nonfinite(char* first, char* last, const T
265265
}
266266

267267
return {last, std::errc::value_too_large};
268+
// LCOV_EXCL_START
268269
default:
269-
// LCOV_EXCL_START
270270
BOOST_DECIMAL_UNREACHABLE;
271-
// LCOV_EXCL_STOP
271+
// LCOV_EXCL_STOP
272272
}
273273
}
274274

0 commit comments

Comments
 (0)