From bf27f667c96392cdef3bcb23dc4ad70dac018e74 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 16 Apr 2010 20:47:22 +0000 Subject: Add assertion svn path=/trunk/netsurf/; revision=10414 --- content/hlcache.c | 1 + 1 file changed, 1 insertion(+) (limited to 'content') 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) { -- cgit v1.2.3