]> git.saurik.com Git - wxWidgets.git/commitdiff
Minor cleaning.
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 17 Jan 2006 18:26:28 +0000 (18:26 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 17 Jan 2006 18:26:28 +0000 (18:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filename.cpp

index e013b511631498937795131d418080480c299e20..1786d29fd77e9aa4c51ebefc1d36eaa53b019bf7 100644 (file)
@@ -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 */