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:
Vadim Zeitlin
2017-07-14 18:58:21 +02:00
parent 2d170d1bb6
commit ca3d86155c

View File

@@ -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;
} }