]> granicus.if.org Git - icu/commitdiff
ICU-13461 add switch break to avoid unannotated fall-through
authorMarkus Scherer <markus.icu@gmail.com>
Thu, 14 Dec 2017 22:03:41 +0000 (22:03 +0000)
committerMarkus Scherer <markus.icu@gmail.com>
Thu, 14 Dec 2017 22:03:41 +0000 (22:03 +0000)
X-SVN-Rev: 40737

icu4c/source/i18n/number_rounding.cpp

index f0cd1135f98b0f723782064c6b5d3cb6bcb6e077..2f31727e994f75526cfb5da161080a42766e8439 100644 (file)
@@ -342,6 +342,7 @@ void Rounder::apply(impl::DecimalQuantity &value, UErrorCode& status) const {
         case RND_CURRENCY:
             // Call .withCurrency() before .apply()!
             U_ASSERT(false);
+            break;
 
         case RND_PASS_THROUGH:
             break;