зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1306509 - Fix a build error with -Werror=unused-variable r=njn
MozReview-Commit-ID: 4mFbamoWjoR --HG-- extra : rebase_source : c2bc212e5a2c836576db316cb3bddc06b9f631e9
This commit is contained in:
Родитель
aa4ed2f442
Коммит
0d42c61ec9
|
@ -116,11 +116,11 @@ nsPlatformCharset::GetDefaultCharsetForLocale(const nsAString& localeName, nsACS
|
|||
nsresult
|
||||
nsPlatformCharset::InitGetCharset(nsACString &oString)
|
||||
{
|
||||
#if HAVE_LANGINFO_CODESET
|
||||
char* nl_langinfo_codeset = nullptr;
|
||||
nsCString aCharset;
|
||||
nsresult res;
|
||||
|
||||
#if HAVE_LANGINFO_CODESET
|
||||
nl_langinfo_codeset = nl_langinfo(CODESET);
|
||||
NS_ASSERTION(nl_langinfo_codeset, "cannot get nl_langinfo(CODESET)");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче