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. --- riscos/theme_install.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'riscos/theme_install.c') diff --git a/riscos/theme_install.c b/riscos/theme_install.c index 0d436dce8..82377facf 100644 --- a/riscos/theme_install.c +++ b/riscos/theme_install.c @@ -89,8 +89,6 @@ nserror theme_install_callback(hlcache_handle *handle, int author_indent = 0; switch (event->type) { - case CONTENT_MSG_READY: - break; case CONTENT_MSG_DONE: { @@ -129,11 +127,7 @@ nserror theme_install_callback(hlcache_handle *handle, warn_user(event->data.error, 0); break; - case CONTENT_MSG_STATUS: - break; - default: - assert(0); break; } -- cgit v1.2.3