remove junk content_add_error api
This commit is contained in:
parent
b832bfaea8
commit
c2f9bcac19
|
@ -1067,12 +1067,6 @@ nserror content_debug(struct hlcache_handle *h, enum content_debug op)
|
|||
}
|
||||
|
||||
|
||||
void content_add_error(struct content *c, const char *token,
|
||||
unsigned int line)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/* exported interface documented in content/content.h */
|
||||
struct content_rfc5988_link *
|
||||
content_find_rfc5988_link(hlcache_handle *h, lwc_string *rel)
|
||||
|
|
|
@ -176,9 +176,6 @@ void content_broadcast(struct content *c, content_msg msg,
|
|||
*/
|
||||
void content_broadcast_error(struct content *c, nserror errorcode, const char *msg);
|
||||
|
||||
void content_add_error(struct content *c, const char *token,
|
||||
unsigned int line);
|
||||
|
||||
bool content__add_rfc5988_link(struct content *c,
|
||||
const struct content_rfc5988_link *link);
|
||||
struct content_rfc5988_link *content__free_rfc5988_link(
|
||||
|
|
|
@ -127,7 +127,6 @@ html_convert_css_callback(hlcache_handle *css,
|
|||
s->sheet = NULL;
|
||||
parent->base.active--;
|
||||
NSLOG(netsurf, INFO, "%d fetches active", parent->base.active);
|
||||
content_add_error(&parent->base, "?", 0);
|
||||
break;
|
||||
|
||||
case CONTENT_MSG_POINTER:
|
||||
|
|
|
@ -229,7 +229,6 @@ html_object_callback(hlcache_handle *object,
|
|||
c->base.active--;
|
||||
NSLOG(netsurf, INFO, "%d fetches active", c->base.active);
|
||||
|
||||
content_add_error(&c->base, "?", 0);
|
||||
html_object_failed(box, c, o->background);
|
||||
|
||||
break;
|
||||
|
|
|
@ -195,7 +195,6 @@ convert_script_async_cb(hlcache_handle *script,
|
|||
s->data.handle = NULL;
|
||||
parent->base.active--;
|
||||
NSLOG(netsurf, INFO, "%d fetches active", parent->base.active);
|
||||
content_add_error(&parent->base, "?", 0);
|
||||
|
||||
break;
|
||||
|
||||
|
@ -259,7 +258,6 @@ convert_script_defer_cb(hlcache_handle *script,
|
|||
s->data.handle = NULL;
|
||||
parent->base.active--;
|
||||
NSLOG(netsurf, INFO, "%d fetches active", parent->base.active);
|
||||
content_add_error(&parent->base, "?", 0);
|
||||
|
||||
break;
|
||||
|
||||
|
@ -348,7 +346,6 @@ convert_script_sync_cb(hlcache_handle *script,
|
|||
parent->base.active--;
|
||||
|
||||
NSLOG(netsurf, INFO, "%d fetches active", parent->base.active);
|
||||
content_add_error(&parent->base, "?", 0);
|
||||
|
||||
s->already_started = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue