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:
@@ -154,7 +154,7 @@ wxShowEffect wxInfoBarGeneric::GetShowEffect() const
|
||||
|
||||
default:
|
||||
wxFAIL_MSG( "unknown info bar placement" );
|
||||
// fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
case BarPlacement_Unknown:
|
||||
return wxSHOW_EFFECT_NONE;
|
||||
@@ -176,7 +176,7 @@ wxShowEffect wxInfoBarGeneric::GetHideEffect() const
|
||||
|
||||
default:
|
||||
wxFAIL_MSG( "unknown info bar placement" );
|
||||
// fall through
|
||||
wxFALLTHROUGH;
|
||||
|
||||
case BarPlacement_Unknown:
|
||||
return wxSHOW_EFFECT_NONE;
|
||||
|
||||
Reference in New Issue
Block a user