]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wxchar.cpp
WXDLLEXPORT added to wxStringTokenizer (and also several "const"s here and
[wxWidgets.git] / src / common / wxchar.cpp
index 17f53d7ec05042a3b622a7aee754b703438e262a..fba42b93527ae00051234295f354fa8cb9d9a095 100644 (file)
@@ -116,7 +116,7 @@ bool WXDLLEXPORT wxOKlibc()
 #ifndef HAVE_WCSLEN
 size_t   WXDLLEXPORT wcslen(const wchar_t *s)
 {
-  size_t len;
+  size_t len = 0;
   while (s[len]) len++;
   return len;
 }