mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 813705 - Initialize nsresult value before possibly using it. r=roc
This commit is contained in:
parent
f1d3e66704
commit
d5505fd697
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user