More use of wxFALLTHROUGH in MSW code and samples

This commit is contained in:
Maarten Bent
2017-11-25 17:48:37 +01:00
parent 6315ae04fb
commit afc02a34ee
11 changed files with 27 additions and 2 deletions

View File

@@ -988,10 +988,11 @@ long wxExecute(const wxString& cmd, int flags, wxProcess *handler,
{
default:
wxFAIL_MSG( wxT("unexpected WaitForInputIdle() return code") );
// fall through
wxFALLTHROUGH;
case WAIT_FAILED:
wxLogLastError(wxT("WaitForInputIdle() in wxExecute"));
wxFALLTHROUGH;
case WAIT_TIMEOUT:
wxLogDebug(wxT("Timeout too small in WaitForInputIdle"));