summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-04-16 20:47:22 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-04-16 20:47:22 +0000
commitbf27f667c96392cdef3bcb23dc4ad70dac018e74 (patch)
tree75764e3a19ac744e7ee8c92d96ae5790b59e7a1d
parent34465a06ab052fe92a755b802b30848857d2e4c2 (diff)
downloadnetsurf-bf27f667c96392cdef3bcb23dc4ad70dac018e74.tar.gz
netsurf-bf27f667c96392cdef3bcb23dc4ad70dac018e74.tar.bz2
Add assertion
svn path=/trunk/netsurf/; revision=10414
-rw-r--r--content/hlcache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/hlcache.c b/content/hlcache.c
index e38e74a81..aedd57e80 100644
--- a/content/hlcache.c
+++ b/content/hlcache.c
@@ -399,6 +399,7 @@ nserror hlcache_llcache_callback(llcache_handle *handle,
/* fall through */
case LLCACHE_EVENT_DONE:
/* should never happen: the handler must be changed */
+ assert(0 && "Unexpected llcache event");
break;
case LLCACHE_EVENT_ERROR:
if (ctx->handle->cb != NULL) {