From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s6BAVWX1015696 for ; Fri, 11 Jul 2014 06:31:32 -0400 (EDT) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.5/8.14.3/Submit) id s6BAVSYw007580; Fri, 11 Jul 2014 06:31:28 -0400 (EDT) Date: Fri, 11 Jul 2014 06:31:28 -0400 (EDT) Message-Id: <201407111031.s6BAVSYw007580@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: pod2mdoc: Remove unused variable. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Remove unused variable. Noticed by Thomas Klausner . Modified Files: -------------- pod2mdoc: pod2mdoc.c Revision Data ------------- Index: pod2mdoc.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/pod2mdoc/pod2mdoc.c,v retrieving revision 1.27 retrieving revision 1.28 diff -Lpod2mdoc.c -Lpod2mdoc.c -u -p -r1.27 -r1.28 --- pod2mdoc.c +++ pod2mdoc.c @@ -181,7 +181,6 @@ trylink(const char *buf, size_t *start, { size_t linkstart, realend, linkend, i, j, textsz, stack; - const char *text; /* * Scan to the start of the terminus. @@ -218,7 +217,6 @@ trylink(const char *buf, size_t *start, linkend = dsz > 1 ? realend - 1 : realend; /* Re-scan to see if we have a title or section. */ - text = &buf[*start]; for (textsz = *start; textsz < linkend; textsz++) if ('|' == buf[textsz] || '/' == buf[textsz]) break; -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv