diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2016-01-27 15:23:43 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2016-01-27 15:23:43 +0000 |
commit | 0174d8bc39cb8bb6d9422f2a65c7dacb94a9c0da (patch) | |
tree | c51ef101869e2c314e55873997c91273b1ea69fb /src | |
parent | 13df5afe36ff3921cfa928bb33fbecee5734c1ed (diff) | |
download | libdom-0174d8bc39cb8bb6d9422f2a65c7dacb94a9c0da.tar.gz libdom-0174d8bc39cb8bb6d9422f2a65c7dacb94a9c0da.tar.bz2 |
Remove default from HTML element specialisation switch.
Now that everything is handled we can remove the default, and
it should be obvious in future if something is added to the
list of elements but not properly handled.
Diffstat (limited to 'src')
-rw-r--r-- | src/html/html_document.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/html/html_document.c b/src/html/html_document.c index ba8ee1b..d4d7c37 100644 --- a/src/html/html_document.c +++ b/src/html/html_document.c @@ -701,7 +701,6 @@ _dom_html_document_create_element_internal( exc = _dom_html_isindex_element_create(html, namespace, prefix, (dom_html_isindex_element **) result); break; - default: case DOM_HTML_ELEMENT_TYPE__UNKNOWN: exc = _dom_html_element_create(html, tag_name, namespace, prefix, result); |