mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 15:42:14 +00:00
ICU-22863 Remove extra line in Islamic calendar
Fix a regression caused by d43d216feb
This commit is contained in:
parent
4f246ab17f
commit
9270216cb7
1 changed files with 0 additions and 1 deletions
|
@ -476,7 +476,6 @@ int64_t IslamicCalendar::handleComputeMonthStart(int32_t eyear, int32_t month,
|
|||
// This may be called by Calendar::handleComputeJulianDay with months out of the range
|
||||
// 0..11. Need to handle that here since monthStart requires months in the range 0.11.
|
||||
if (month > 11) {
|
||||
eyear += (month / 12);
|
||||
if (uprv_add32_overflow(eyear, (month / 12), &eyear)) {
|
||||
status = U_ILLEGAL_ARGUMENT_ERROR;
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue