jgrulich / rpms / firefox

Forked from rpms/firefox 4 years ago
Clone
96352c5
diff -up firefox-75.0/intl/locale/LocaleService.cpp.locale-debug firefox-75.0/intl/locale/LocaleService.cpp
96352c5
--- firefox-75.0/intl/locale/LocaleService.cpp.locale-debug	2020-04-06 22:42:20.196799809 +0200
96352c5
+++ firefox-75.0/intl/locale/LocaleService.cpp	2020-04-06 22:43:02.522530317 +0200
96352c5
@@ -372,8 +372,6 @@ LocaleService::GetDefaultLocale(nsACStri
96352c5
     // just use our hard-coded default below.
66f0419
     GetGREFileContents("update.locale", &locale);
66f0419
     locale.Trim(" \t\n\r");
96352c5
-    // This should never be empty.
66f0419
-    MOZ_ASSERT(!locale.IsEmpty());
96352c5
     if (CanonicalizeLanguageId(locale)) {
66f0419
       mDefaultLocale.Assign(locale);
66f0419
     }