summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/content.c6
-rw-r--r--content/content_protected.h3
-rw-r--r--content/handlers/html/css.c1
-rw-r--r--content/handlers/html/object.c1
-rw-r--r--content/handlers/html/script.c3
5 files changed, 0 insertions, 14 deletions
diff --git a/content/content.c b/content/content.c
index 6ffaebf6c..d33780fa8 100644
--- a/content/content.c
+++ b/content/content.c
@@ -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)
diff --git a/content/content_protected.h b/content/content_protected.h
index 343a3f572..a8793528e 100644
--- a/content/content_protected.h
+++ b/content/content_protected.h
@@ -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(
diff --git a/content/handlers/html/css.c b/content/handlers/html/css.c
index 575898134..d7c9b3c41 100644
--- a/content/handlers/html/css.c
+++ b/content/handlers/html/css.c
@@ -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:
diff --git a/content/handlers/html/object.c b/content/handlers/html/object.c
index 36726f1c5..e6edf840d 100644
--- a/content/handlers/html/object.c
+++ b/content/handlers/html/object.c
@@ -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;
diff --git a/content/handlers/html/script.c b/content/handlers/html/script.c
index 99275c0e9..faab08ba6 100644
--- a/content/handlers/html/script.c
+++ b/content/handlers/html/script.c
@@ -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;