From 00870bfe3dc61d198cd1c4ec52b64f6e752eff28 Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Thu, 16 Sep 2010 20:57:34 +0000 Subject: [PATCH] Delete unused variables after next to last commit Delete some variables that are unused as of the next to last commit. Thanks to Simon Ruderich for pointing out that those variables were still there. --- src/viewer/text/search.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/viewer/text/search.c b/src/viewer/text/search.c index 224601c94..b09609fe7 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;