| Index: components/ntp_snippets/ntp_snippets_fetcher.cc
|
| diff --git a/components/ntp_snippets/ntp_snippets_fetcher.cc b/components/ntp_snippets/ntp_snippets_fetcher.cc
|
| index 90c0815a07fc567c7c4715e068af69e5bfc0bd0a..37935e77bc409201435b286dac71497db28ba4b1 100644
|
| --- a/components/ntp_snippets/ntp_snippets_fetcher.cc
|
| +++ b/components/ntp_snippets/ntp_snippets_fetcher.cc
|
| @@ -173,7 +173,7 @@ void NTPSnippetsFetcher::FetchSnippetsFromHosts(
|
|
|
| // Translate the BCP 47 |language_code| into a posix locale string.
|
| char locale[ULOC_FULLNAME_CAPACITY];
|
| - UErrorCode error;
|
| + UErrorCode error = U_ZERO_ERROR;
|
| uloc_forLanguageTag(language_code.c_str(), locale, ULOC_FULLNAME_CAPACITY,
|
| nullptr, &error);
|
| DLOG_IF(WARNING, U_ZERO_ERROR != error)
|
|
|