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:
Sylvestre Ledru 2016-09-29 18:34:03 -05:00
Родитель aa4ed2f442
Коммит 0d42c61ec9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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)");