summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorRob Kendrick <rjek@rjek.com>2014-01-05 14:39:08 +0000
committerRob Kendrick <rjek@rjek.com>2014-01-05 14:39:08 +0000
commit1bd4a34a271e4f839298f56d8e45f02dfa9d378b (patch)
tree4844105624966163d125c5b7b6ad4eaf1ac8c0b6 /css
parent33f94c265e34c6ec2a9c0603f814deda47f77849 (diff)
downloadnetsurf-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')
-rw-r--r--css/css.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/css/css.c b/css/css.c
index f8aa71a03..803906692 100644
--- a/css/css.c
+++ b/css/css.c
@@ -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 */