Skip to content

Commit

Permalink
ICU-22863 Remove extra line in Islamic calendar
Browse files Browse the repository at this point in the history
Fix a regression caused by d43d216
  • Loading branch information
FrankYFTang committed Sep 11, 2024
1 parent 4f246ab commit 9270216
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion icu4c/source/i18n/islamcal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9270216

Please sign in to comment.