adding wxFALLTHROUGH where until now we had comments, allows for code-analysis support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -238,7 +238,7 @@ wxString wxLogGui::GetTitle() const
|
||||
|
||||
default:
|
||||
wxFAIL_MSG( "unexpected icon severity" );
|
||||
// fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
case wxICON_INFORMATION:
|
||||
titleFormat = _("%s Information");
|
||||
@@ -396,7 +396,7 @@ void wxLogGui::DoLogRecord(wxLogLevel level,
|
||||
#endif // wxUSE_LOG_DIALOG
|
||||
m_bErrors = true;
|
||||
}
|
||||
// fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
case wxLOG_Warning:
|
||||
if ( !m_bErrors ) {
|
||||
|
||||
Reference in New Issue
Block a user