Get rid of another unused variable in wxLocale::Init()
This one was defined and used only once, just remove it completely.
This commit is contained in:
@@ -419,7 +419,6 @@ bool wxLocale::Init(int language, int flags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
wxString name = info->Description;
|
wxString name = info->Description;
|
||||||
wxString canonical = info->CanonicalName;
|
|
||||||
|
|
||||||
// Set the locale:
|
// Set the locale:
|
||||||
#if defined(__UNIX__) && !defined(__WXMAC__)
|
#if defined(__UNIX__) && !defined(__WXMAC__)
|
||||||
@@ -579,7 +578,7 @@ bool wxLocale::Init(int language, int flags)
|
|||||||
// this language
|
// this language
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !DoInit(name, canonical, retloc) )
|
if ( !DoInit(name, info->CanonicalName, retloc) )
|
||||||
{
|
{
|
||||||
ret = false;
|
ret = false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user