]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/intl.cpp
Rework the wxCusor ctor taking wx stock number to provide as many cursors as
[wxWidgets.git] / src / common / intl.cpp
index db82ff55a3b3b31cd02a9de2bd6a3ea6726e6ce8..0a027c9971795319ac8095aa902605fa48a1bd5a 100644 (file)
@@ -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