mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 813705 - Initialize nsresult value before possibly using it. r=roc
This commit is contained in:
parent
a25d4c92d6
commit
61dcdd2a9e
@ -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