summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2016-02-07 20:13:39 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2016-02-07 20:13:39 (GMT)
commitfe6eb48a7b80dc8a6c94e5b7f67cf42b916b1086 (patch)
tree70f867c330500b3f5a0953fda4649069c33cfd26
parenta2f91f80ef79c492d7a4e79f23739c5b3a640ab1 (diff)
downloadlibdom-fe6eb48a7b80dc8a6c94e5b7f67cf42b916b1086.tar.gz
libdom-fe6eb48a7b80dc8a6c94e5b7f67cf42b916b1086.tar.bz2
Fix compiler warning.
error: expression result unused [-Werror,-Wunused-value]
-rw-r--r--src/core/element.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/element.c b/src/core/element.c
index bbf4c2b..1dae60a 100644
--- a/src/core/element.c
+++ b/src/core/element.c
@@ -1172,7 +1172,7 @@ dom_exception _dom_element_get_classes(struct dom_element *element,
*n_classes = element->n_classes;
for (classnr = 0; classnr < element->n_classes; classnr++)
- lwc_string_ref((*classes)[classnr]);
+ (void) lwc_string_ref((*classes)[classnr]);
} else {
*n_classes = 0;