[PATCH] Unbreak build with --enable-debug.

Simon Ruderich <[email protected]> Thu, 16 Sep 2010 22:34:58 +0200
Newsgroups gmane.comp.web.links
Message-ID <b02b5a6127eca30c4980c8e409062dc05018c33f.1284669202.git.simon@ruderich.org>
This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--===============0223353551==
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="=_zucker.schokokeks.org-18749-1284669281-0001-2"
Content-Disposition: inline

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_zucker.schokokeks.org-18749-1284669281-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 curre=
nt_link, int i,
 static inline void
 fixup_typeahead_match(struct session *ses, struct document_view *doc_view)
 {
-	int current_link =3D doc_view->vs->current_link;
-	struct link *link =3D &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 -=3D 1;
--=20
1.7.2.3

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

--=_zucker.schokokeks.org-18749-1284669281-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBCAAGBQJMkn9yAAoJEJL+/bfkTDL5qcEP/R/PB1q233s9tagOKVTqCCdN
e+SosppMIH+avbs7ot9sSHYQ+IBIHklYSgyuQFeZv1KfhBX4WUPTSfJKLqDBvyb0
54E8RZq8ppozGXuiXrMf1JK4wd0eRiWE1ieov9009nL5bPYE1u1IdYw/0TEIKj+g
E1sXMQiGDn9pFjQmKpWe8/ckdfNUm3z0D/SbVAp2Rv7Jek97qiZZl0ahSvF/QU8o
ygLdI266c8IasvZE22hW93lA1GyfsZeRaxFPKjky2L6RmcBiseYGFFM5d9zl19XV
a0tnOc7IfCv4Ia0LIuseMxBOoaKPT2JqVgv3pDdVDMHHjtq89p+eLT+G7qLQnnwa
UN0uedTP/S7gaC0C6eR30whghml8kLgEnygFKI0gKIaBGnzZXn/wWVdw6qGPwNhh
xB8VfsWiCNsEnEwiN99eFCOM/X+rbTU1YMi9PbuJBg3djSdVnn2AIyp7xg07qEY9
UbNWDxV1JjmO4gQ3dj5kPCDuEftAEPKVepwaRjXDNrV2kmEyhbA3XDw17gVYiece
j+KG2mD4anEO98JfI5Yl8zLowSQYtoW5A339QzSTCNP5Pm5zn7Y4Nk8C1y0AePlU
B6Svs8Ce1OWZs7m3x+sJhupfyuk041ZXYxqEV0+vDQT09KHaena7NbrFkPVu40PH
K9AJ6oKaA5inYFSv6efF
=8zn1
-----END PGP SIGNATURE-----

--=_zucker.schokokeks.org-18749-1284669281-0001-2--

--===============0223353551==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev

--===============0223353551==--