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

@@ -1332,7 +1332,7 @@ wxString wxRegKey::FormatValue(const wxString& name) const
case wxT('\\'):
// escape special symbol
rhs += wxT('\\');
// fall through
wxFALLTHROUGH;
default:
rhs += *p;
@@ -1527,7 +1527,7 @@ long GetMSWViewFlags(wxRegKey::WOW64ViewMode viewMode)
default:
wxFAIL_MSG("Unknown registry view.");
// fall through
wxFALLTHROUGH;
case wxRegKey::WOW64ViewMode_Default:
// Use default registry view for the current application,