]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/helpbest.cpp
fixed compilation problem with old gcc releases
[wxWidgets.git] / src / msw / helpbest.cpp
index 37de613612b907a02c41a5d5277d7b60db789541..01667e799c674d03a7e979d029260f276162db3a 100644 (file)
@@ -94,8 +94,9 @@ wxString wxBestHelpController::GetValidFilename( const wxString& filename ) cons
         default:
             // we CAN'T get here
             wxFAIL_MSG( wxT("wxBestHelpController: Must call Initialize, first!") );
         default:
             // we CAN'T get here
             wxFAIL_MSG( wxT("wxBestHelpController: Must call Initialize, first!") );
-            return wxEmptyString;
     }
     }
+
+    return wxEmptyString;
 }
 
 #endif
 }
 
 #endif