From 1bd4a34a271e4f839298f56d8e45f02dfa9d378b Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Sun, 5 Jan 2014 14:39:08 +0000 Subject: Remove asserts for default cases from all content message handlers; this is laborious and is no longer useful for catching bugs. --- render/html_object.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'render/html_object.c') diff --git a/render/html_object.c b/render/html_object.c index f4975e9ba..7b34c4a7e 100644 --- a/render/html_object.c +++ b/render/html_object.c @@ -203,10 +203,6 @@ html_object_callback(hlcache_handle *object, } break; - case CONTENT_MSG_REFORMAT: - case CONTENT_MSG_REDIRECT: - break; - case CONTENT_MSG_REDRAW: if (c->base.status != CONTENT_STATUS_LOADING) { union content_msg_data data = event->data; @@ -440,7 +436,7 @@ html_object_callback(hlcache_handle *object, break; default: - assert(0); + break; } if (c->base.status == CONTENT_STATUS_READY && c->base.active == 0 && -- cgit v1.2.3