X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52de37c78f31bc03f8b96090932c7ce8c3907d29..69659fd770f615210efac4b4fa741b3ad6223616:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index db82ff55a3..0a027c9971 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -1602,7 +1602,7 @@ bool wxLocale::Init(const wxString& name, #if defined(__UNIX__) && wxUSE_UNICODE && !defined(__WXMAC__) static const char *wxSetlocaleTryUTF8(int c, const wxString& lc) { - const char *l; + const char *l = NULL; // NB: We prefer to set UTF-8 locale if it's possible and only fall back to // non-UTF-8 locale if it fails