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 /css/css.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 'css/css.c')
-rw-r--r-- | css/css.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -655,19 +655,8 @@ nserror nscss_import(hlcache_handle *handle, /* Already released handle */ break; - case CONTENT_MSG_LOADING: - case CONTENT_MSG_READY: - case CONTENT_MSG_STATUS: - case CONTENT_MSG_REDIRECT: - /* messages content handler will legitamately recive - * but does not need to handle - */ - break; - default: - /* all other messages are unexpected and fatal */ - LOG(("Unhandled message type %d", event->type)); - assert(0); + break; } /* Preserve out-of-memory. Anything else is OK */ |