diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index fc5860b69c..f9e73aed8a 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -171,10 +171,6 @@ int WXDLLEXPORT wxStricmp(const wxChar *psz1, const wxChar *psz2) #ifndef wxStrtok WXDLLEXPORT wxChar * wxStrtok(wxChar *psz, const wxChar *delim, wxChar **save_ptr) { - if (!(save_ptr && *save_ptr)) { - return (wxChar *) NULL; - } - if (!psz) psz = *save_ptr; psz += wxStrspn(psz, delim); if (!*psz) {