diff options
author | Rob Kendrick <rjek@rjek.com> | 2014-01-05 14:39:08 +0000 |
---|---|---|
committer | Rob Kendrick <rjek@rjek.com> | 2014-01-05 14:39:08 +0000 |
commit | 1bd4a34a271e4f839298f56d8e45f02dfa9d378b (patch) | |
tree | 4844105624966163d125c5b7b6ad4eaf1ac8c0b6 /render/html_object.c | |
parent | 33f94c265e34c6ec2a9c0603f814deda47f77849 (diff) | |
download | netsurf-1bd4a34a271e4f839298f56d8e45f02dfa9d378b.tar.gz netsurf-1bd4a34a271e4f839298f56d8e45f02dfa9d378b.tar.bz2 |
Remove asserts for default cases from all content message handlers; this is laborious and is no longer useful for catching bugs.
Diffstat (limited to 'render/html_object.c')
-rw-r--r-- | render/html_object.c | 6 |
1 files changed, 1 insertions, 5 deletions
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 && |