diff options
author | Aleksi Lindeman <dec05eba@protonmail.com> | 2019-05-25 16:51:44 +0200 |
---|---|---|
committer | Aleksi Lindeman <dec05eba@protonmail.com> | 2019-05-25 16:51:46 +0200 |
commit | c7500d39c6bae0084196ca7a7395ac85fff09928 (patch) | |
tree | a3c80f2c9a65e9dbb3aaba373af00d1803515c62 | |
parent | 43b6ea91ed733d397cef8d1a09a0b4f5e825528f (diff) |
Remove unused const
-rw-r--r-- | include/quickmedia/HtmlSearch.h | 2 | ||||
-rw-r--r-- | src/HtmlSearch.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/quickmedia/HtmlSearch.h b/include/quickmedia/HtmlSearch.h index 568e101..09a17e2 100644 --- a/include/quickmedia/HtmlSearch.h +++ b/include/quickmedia/HtmlSearch.h @@ -21,7 +21,7 @@ typedef struct { const char* quickmedia_html_node_get_attribute_value(QuickMediaHtmlNode *self, const char *attribute_name); /* Returns StringView where data is NULL and size is 0 if node doesn't have any text */ -const QuickMediaStringView quickmedia_html_node_get_text(QuickMediaHtmlNode *self); +QuickMediaStringView quickmedia_html_node_get_text(QuickMediaHtmlNode *self); /* @node is only valid within the callback function scope */ typedef void (*QuickMediaHtmlSearchResultCallback)(QuickMediaHtmlNode *node, void *userdata); diff --git a/src/HtmlSearch.c b/src/HtmlSearch.c index 7868f32..dcbb8f2 100644 --- a/src/HtmlSearch.c +++ b/src/HtmlSearch.c @@ -75,7 +75,7 @@ const char* quickmedia_html_node_get_attribute_value(QuickMediaHtmlNode *self, c return tidyAttrValue(attr); } -const QuickMediaStringView quickmedia_html_node_get_text(QuickMediaHtmlNode *self) { +QuickMediaStringView quickmedia_html_node_get_text(QuickMediaHtmlNode *self) { QuickMediaStringView string_view; string_view.data = NULL; string_view.size = 0; |