b53e8450d1f2bec84bf9354eaaa09dcb244c1edf broke the build with
--enable-debug because of unused variables. This should fix it.

Simon
---
 src/viewer/text/search.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/viewer/text/search.c b/src/viewer/text/search.c
index 224601c..b09609f 100644
--- a/src/viewer/text/search.c
+++ b/src/viewer/text/search.c
@@ -1266,9 +1266,6 @@ search_link_text(struct document *document, int 
current_link, int i,
 static inline void
 fixup_typeahead_match(struct session *ses, struct document_view *doc_view)
 {
-       int current_link = doc_view->vs->current_link;
-       struct link *link = &doc_view->document->links[current_link];
-
        /* We adjust the box_size to account for the typeahead input line
         * (we don't want the input line to cover the current link). */
        doc_view->box.height -= 1;
-- 
1.7.2.3

-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

Attachment: pgpoEubjpvfpr.pgp
Description: PGP signature

_______________________________________________
elinks-dev mailing list
elinks-dev@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-dev

Reply via email to