diff options
author | Vincent Sanders <vince@kyllikki.org> | 2020-05-23 22:59:40 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2020-05-23 23:00:08 +0100 |
commit | 6108d210d508e754904c46f687adbc87ab98dc78 (patch) | |
tree | a4eb69842a1f3add488def75c9c88e384e5257da /content/textsearch.c | |
parent | 1161029d2952e5e11062d750a0a681643574428e (diff) | |
download | netsurf-6108d210d508e754904c46f687adbc87ab98dc78.tar.gz netsurf-6108d210d508e754904c46f687adbc87ab98dc78.tar.bz2 |
remove all direct access to selection structure
Diffstat (limited to 'content/textsearch.c')
-rw-r--r-- | content/textsearch.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/content/textsearch.c b/content/textsearch.c index 056da2bf6..18f9073dc 100644 --- a/content/textsearch.c +++ b/content/textsearch.c @@ -165,7 +165,6 @@ static void free_matches(struct textsearch_context *textsearch) static void search_show_all(bool all, struct textsearch_context *context) { struct list_entry *a; - nserror res; for (a = context->found->next; a; a = a->next) { bool add = true; @@ -628,7 +627,6 @@ content_textsearch_ishighlighted(struct textsearch_context *textsearch, for (cur = textsearch->found->next; cur != NULL; cur = cur->next) { if (cur->sel && - selection_defined(cur->sel) && selection_highlighted(cur->sel, start_offset, end_offset, |