From a2d7cc9df1acac0ed2521ffa4e4d96cf0582e354 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 11 Mar 2011 10:33:42 +0000 Subject: Remove pointless search svn path=/trunk/netsurf/; revision=11965 --- render/html.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'render') diff --git a/render/html.c b/render/html.c index bcce10ba4..469d507a8 100644 --- a/render/html.c +++ b/render/html.c @@ -1475,16 +1475,6 @@ nserror html_object_callback(hlcache_handle *object, case CONTENT_MSG_REFRESH: if (content_get_type(object) == CONTENT_HTML) { - struct content_html_object *o; - - for (o = c->data.html.object_list; o != NULL; - o = o->next) { - if (o->content == object) - break; - } - - assert(o != NULL); - /* only for HTML objects */ schedule(event->data.delay * 100, html_object_refresh, o); -- cgit v1.2.3