From 8d13c93c894d536f4061e981a3d470d272516654 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 28 Feb 2011 20:16:48 +0000 Subject: Remove bogus assertions: content handlers which spawn fetches may not transition out of the LOADING state until after the fetches have completed. svn path=/trunk/netsurf/; revision=11860 --- content/content.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'content/content.c') diff --git a/content/content.c b/content/content.c index 8db831255..7b9207d44 100644 --- a/content/content.c +++ b/content/content.c @@ -697,13 +697,6 @@ void content_convert(struct content *c) content_set_ready(c); content_set_done(c); } - - /* After conversion, the content must be in error or either the - * READY or DONE state and must not be locked */ - assert(c->status == CONTENT_STATUS_READY || - c->status == CONTENT_STATUS_DONE || - c->status == CONTENT_STATUS_ERROR); - assert(c->locked == false); } /** -- cgit v1.2.3