From 9270216cb73faa128a9d77a14175fc4a164747ad Mon Sep 17 00:00:00 2001 From: Frank Tang Date: Thu, 5 Sep 2024 10:31:18 -0700 Subject: [PATCH] ICU-22863 Remove extra line in Islamic calendar Fix a regression caused by d43d216febe18d37ad840cbac3f953b989b65965 --- icu4c/source/i18n/islamcal.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/icu4c/source/i18n/islamcal.cpp b/icu4c/source/i18n/islamcal.cpp index f8b8aa9f3bb0..dfeac36a6651 100644 --- a/icu4c/source/i18n/islamcal.cpp +++ b/icu4c/source/i18n/islamcal.cpp @@ -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;