Fix unannotated fall-through warnings

This commit is contained in:
Maarten Bent
2018-11-25 20:22:44 +01:00
parent 39ff5b90e5
commit eb23d4735c
47 changed files with 84 additions and 77 deletions

View File

@@ -204,7 +204,7 @@ void RegExTestCase::parseFlags(const wxString& flags)
case 'i': m_compileFlags |= wxRE_ICASE; break;
case 'o': m_compileFlags |= wxRE_NOSUB; break;
case 'n': m_compileFlags |= wxRE_NEWLINE; break;
case 't': if (strchr("ep", m_mode)) break; // else fall through...
case 't': if (strchr("ep", m_mode)) break; wxFALLTHROUGH;
// anything else we must skip the test
default: