From 16163aab0318c2c1a1576cbc4d87c8ba0f36b766 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 23 Feb 2020 09:36:07 +0000 Subject: HTML: Ignore dom exceptions we don't care about Signed-off-by: Daniel Silverstone --- content/handlers/html/html.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'content') 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); } -- cgit v1.2.3