Skip to content

Commit 3381c2b

Browse files
src/common/Interval.cpp: fixing a bug that filed when the end of a line was just after the stop site
1 parent e5ee19a commit 3381c2b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/common/Interval.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ Interval::initialize(const char *c, const char *c_end) -> bool {
5656
// stop
5757
field_s = std::find_if(field_e + 1, c_end, not_sep);
5858
field_e = std::find_if(field_s + 1, c_end, is_sep);
59-
failed = failed || (field_e == c_end);
6059
{
6160
const auto [ptr, ec] = std::from_chars(field_s, field_e, stop);
6261
failed = failed || ec != std::errc{};

0 commit comments

Comments
 (0)