summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2020-02-23 09:36:07 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2020-02-23 09:36:07 +0000
commit16163aab0318c2c1a1576cbc4d87c8ba0f36b766 (patch)
treea25de67fd47c1bfc391ef863a83fffe8fc2f4c68 /content
parentb633bef7bf326ce22e89cf40a4dad5ecbcee9400 (diff)
downloadnetsurf-16163aab0318c2c1a1576cbc4d87c8ba0f36b766.tar.gz
netsurf-16163aab0318c2c1a1576cbc4d87c8ba0f36b766.tar.bz2
HTML: Ignore dom exceptions we don't care about
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'content')
-rw-r--r--content/handlers/html/html.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/content/handlers/html/html.c b/content/handlers/html/html.c
index d9fe904c0..d1b810fbc 100644
--- a/content/handlers/html/html.c
+++ b/content/handlers/html/html.c
@@ -340,7 +340,7 @@ static bool html_process_link(html_content *c, dom_node *node)
corestring_dom_hreflang, &atr_string);
if ((exc == DOM_NO_ERR) && (atr_string != NULL)) {
/* get a lwc string containing the href lang */
- exc = dom_string_intern(atr_string, &link.hreflang);
+ (void)dom_string_intern(atr_string, &link.hreflang);
dom_string_unref(atr_string);
}
@@ -348,7 +348,7 @@ static bool html_process_link(html_content *c, dom_node *node)
corestring_dom_type, &atr_string);
if ((exc == DOM_NO_ERR) && (atr_string != NULL)) {
/* get a lwc string containing the type */
- exc = dom_string_intern(atr_string, &link.type);
+ (void)dom_string_intern(atr_string, &link.type);
dom_string_unref(atr_string);
}
@@ -356,7 +356,7 @@ static bool html_process_link(html_content *c, dom_node *node)
corestring_dom_media, &atr_string);
if ((exc == DOM_NO_ERR) && (atr_string != NULL)) {
/* get a lwc string containing the media */
- exc = dom_string_intern(atr_string, &link.media);
+ (void)dom_string_intern(atr_string, &link.media);
dom_string_unref(atr_string);
}
@@ -364,7 +364,7 @@ static bool html_process_link(html_content *c, dom_node *node)
corestring_dom_sizes, &atr_string);
if ((exc == DOM_NO_ERR) && (atr_string != NULL)) {
/* get a lwc string containing the sizes */
- exc = dom_string_intern(atr_string, &link.sizes);
+ (void)dom_string_intern(atr_string, &link.sizes);
dom_string_unref(atr_string);
}