Remove "fall through" comments from the samples
Use wxFALLTHROUGH when appropriate and just remove the useless "fall through" comment from a "default" branch. No real changes.
This commit is contained in:
@@ -2037,7 +2037,7 @@ wxString BugsGridTable::GetTypeName(int WXUNUSED(row), int col)
|
|||||||
return wxGRID_VALUE_NUMBER;
|
return wxGRID_VALUE_NUMBER;
|
||||||
|
|
||||||
case Col_Severity:
|
case Col_Severity:
|
||||||
// fall through (TODO should be a list)
|
wxFALLTHROUGH;
|
||||||
|
|
||||||
case Col_Summary:
|
case Col_Summary:
|
||||||
return wxString::Format("%s:80", wxGRID_VALUE_STRING);
|
return wxString::Format("%s:80", wxGRID_VALUE_STRING);
|
||||||
|
@@ -471,7 +471,6 @@ void SliderWidgetsPage::CreateSlider()
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
wxFAIL_MSG("unexpected radiobox selection");
|
wxFAIL_MSG("unexpected radiobox selection");
|
||||||
// fall through
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( m_chkBothSides->GetValue() )
|
if ( m_chkBothSides->GetValue() )
|
||||||
|
Reference in New Issue
Block a user