Add switch case fallthrough comment.

This commit is contained in:
Michael Drake 2016-02-09 13:53:43 +00:00
parent f5be1eb413
commit 51084243a2

View File

@ -342,6 +342,7 @@ static void dukky_html_element_class_from_tag_type(dom_html_element_type type,
break; break;
case DOM_HTML_ELEMENT_TYPE__COUNT: case DOM_HTML_ELEMENT_TYPE__COUNT:
assert(type != DOM_HTML_ELEMENT_TYPE__COUNT); assert(type != DOM_HTML_ELEMENT_TYPE__COUNT);
/* fallthrough */
case DOM_HTML_ELEMENT_TYPE__UNKNOWN: case DOM_HTML_ELEMENT_TYPE__UNKNOWN:
SET_HTML_CLASS(UNKNOWN) SET_HTML_CLASS(UNKNOWN)
break; break;