mozilla-no-return.patch
changeset 1074 4b99400f6d17
parent 1073 63a32fb3b602
child 1075 0831123bc28a
child 1088 84cdfb476431
--- a/mozilla-no-return.patch	Sun Oct 21 09:27:28 2018 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-# HG changeset patch
-# User Wolfgang Rosenauer <wr@rosenauer.org>
-# Parent  242712e5a1879111d1a93a5d55dfae3fd5d47abc
-
-diff --git a/intl/icu/source/i18n/number_grouping.cpp b/intl/icu/source/i18n/number_grouping.cpp
---- a/intl/icu/source/i18n/number_grouping.cpp
-+++ b/intl/icu/source/i18n/number_grouping.cpp
-@@ -43,16 +43,17 @@ Grouper Grouper::forStrategy(UGroupingSt
-     case UNUM_GROUPING_MIN2:
-         return {-2, -2, -3};
-     case UNUM_GROUPING_ON_ALIGNED:
-         return {-4, -4, 1};
-     case UNUM_GROUPING_THOUSANDS:
-         return {3, 3, 1};
-     default:
-         U_ASSERT(FALSE);
-+        return {0, 0, 0};
-     }
- }
- 
- void Grouper::setLocaleData(const impl::ParsedPatternInfo &patternInfo, const Locale& locale) {
-     if (fGrouping1 != -2 && fGrouping2 != -4) {
-         return;
-     }
-     auto grouping1 = static_cast<int16_t> (patternInfo.positive.groupingSizes & 0xffff);
-diff --git a/media/libcubeb/src/cubeb_utils.cpp b/media/libcubeb/src/cubeb_utils.cpp
---- a/media/libcubeb/src/cubeb_utils.cpp
-+++ b/media/libcubeb/src/cubeb_utils.cpp
-@@ -14,10 +14,11 @@ size_t cubeb_sample_size(cubeb_sample_fo
-     case CUBEB_SAMPLE_S16BE:
-       return sizeof(int16_t);
-     case CUBEB_SAMPLE_FLOAT32LE:
-     case CUBEB_SAMPLE_FLOAT32BE:
-       return sizeof(float);
-     default:
-       // should never happen as all cases are handled above.
-       assert(false);
-+      return sizeof(float);
-   }
- }