1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

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.
This commit is contained in:
Miciah Dashiel Butler Masters 2010-09-16 20:57:34 +00:00
parent ece4d3dc2d
commit 00870bfe3d

View File

@ -1266,9 +1266,6 @@ search_link_text(struct document *document, int current_link, int i,
static inline void static inline void
fixup_typeahead_match(struct session *ses, struct document_view *doc_view) 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 adjust the box_size to account for the typeahead input line
* (we don't want the input line to cover the current link). */ * (we don't want the input line to cover the current link). */
doc_view->box.height -= 1; doc_view->box.height -= 1;