summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2014-01-24 12:23:48 (GMT)
committer Vincent Sanders <vince@netsurf-browser.org>2014-01-24 12:23:48 (GMT)
commit4ceb50c64c639c07fdc0a23ded435ceffd8462e7 (patch)
treea23578ee3353aac7ee2629595ffc068f3d67ca83
parent398628739554c8c77e9c82522f5cd36e3e166e22 (diff)
downloadlibdom-4ceb50c64c639c07fdc0a23ded435ceffd8462e7.tar.gz
libdom-4ceb50c64c639c07fdc0a23ded435ceffd8462e7.tar.bz2
remove unreachable default (coverity 1127075)
-rw-r--r--src/events/document_event.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/events/document_event.c b/src/events/document_event.c
index 37aeb73..cd312ea 100644
--- a/src/events/document_event.c
+++ b/src/events/document_event.c
@@ -162,8 +162,6 @@ dom_exception _dom_document_event_create_event(dom_document_event *de,
err = _dom_mutation_name_event_create(doc,
(dom_mutation_name_event **) evt);
break;
- default:
- assert("Should never be here" == NULL);
}
return err;