Skip to content

Commit c6732cd

Browse files
committed
lint
1 parent b29208f commit c6732cd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

include/fast_float/ascii_number.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,8 @@ parse_number_string(UC const *p, UC const *pend,
304304
return report_parse_error<UC>(p,
305305
parse_error::missing_integer_after_sign);
306306
}
307-
} else {
307+
}
308+
else {
308309
if (!is_integer(*p) &&
309310
(*p !=
310311
decimal_point)) { // a sign must be followed by an integer or the dot
@@ -363,8 +364,8 @@ parse_number_string(UC const *p, UC const *pend,
363364
return report_parse_error<UC>(p,
364365
parse_error::no_digits_in_fractional_part);
365366
}
366-
} else if (digit_count ==
367-
0) { // we must have encountered at least one integer!
367+
}
368+
else if (digit_count == 0) { // we must have encountered at least one integer!
368369
return report_parse_error<UC>(p, parse_error::no_digits_in_mantissa);
369370
}
370371
int64_t exp_number = 0; // explicit exponential part

0 commit comments

Comments
 (0)