From: Włodzimierz Skiba Date: Tue, 17 Jan 2006 18:26:28 +0000 (+0000) Subject: Minor cleaning. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bcfa2b31849b797d5a0660b6a80c330f243a0211 Minor cleaning. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/filename.cpp b/src/common/filename.cpp index e013b51163..1786d29fd7 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -1241,20 +1241,22 @@ wxString wxFileName::GetForbiddenChars(wxPathFormat format) } /* static */ -wxString wxFileName::GetVolumeSeparator(wxPathFormat format) +wxString wxFileName::GetVolumeSeparator(wxPathFormat WXUNUSED_IN_WINCE(format)) { +#ifdef __WXWINCE__ + return wxEmptyString; +#else wxString sepVol; -#ifndef __WXWINCE__ if ( (GetFormat(format) == wxPATH_DOS) || (GetFormat(format) == wxPATH_VMS) ) { sepVol = wxFILE_SEP_DSK; } //else: leave empty -#endif return sepVol; +#endif } /* static */