Bug 813705 - Initialize nsresult value before possibly using it. r=roc

This commit is contained in:
Josh Matthews 2012-11-20 15:59:36 -05:00
parent f1d3e66704
commit d5505fd697

View File

@ -414,7 +414,7 @@ nsPresContext::GetFontPrefsForLang(nsIAtom *aLanguage) const
{
// Get language group for aLanguage:
nsresult rv;
nsresult rv = NS_OK;
nsIAtom *langGroupAtom = nullptr;
if (!aLanguage) {
aLanguage = mLanguage;