1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

[libcss] No warning

This commit is contained in:
Witold Filipczyk 2023-05-30 15:24:47 +02:00
parent 4ffa019038
commit cdb37b743d

View File

@ -860,13 +860,10 @@ css_error node_has_class(void *pw, void *node,
lwc_string *name, bool *match) lwc_string *name, bool *match)
{ {
dom_node *n = node; dom_node *n = node;
dom_exception err;
/** \todo: Ensure that libdom performs case-insensitive /** \todo: Ensure that libdom performs case-insensitive
* matching in quirks mode */ * matching in quirks mode */
err = dom_element_has_class(n, name, match); (void)dom_element_has_class(n, name, match);
assert(err == DOM_NO_ERR);
return CSS_OK; return CSS_OK;
} }