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:
@@ -276,7 +276,7 @@ void wxHtmlTagsCache::QueryTag(const wxString::const_iterator& at,
|
||||
|
||||
case wxHtmlCacheItem::Type_EndingTag:
|
||||
wxFAIL_MSG("QueryTag called for ending tag - can't be");
|
||||
// but if it does happen, fall through, better than crashing
|
||||
wxFALLTHROUGH;// but if it does happen, fall through, better than crashing
|
||||
|
||||
case wxHtmlCacheItem::Type_NoMatchingEndingTag:
|
||||
// If input HTML is invalid and there's no closing tag for this
|
||||
|
||||
Reference in New Issue
Block a user