summaryrefslogtreecommitdiff
path: root/src/html/html_document.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-01-27 15:23:43 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-01-27 15:23:43 +0000
commit0174d8bc39cb8bb6d9422f2a65c7dacb94a9c0da (patch)
treec51ef101869e2c314e55873997c91273b1ea69fb /src/html/html_document.c
parent13df5afe36ff3921cfa928bb33fbecee5734c1ed (diff)
downloadlibdom-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/html/html_document.c')
-rw-r--r--src/html/html_document.c1
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);