* pod2mdoc: Remove unused variable.
@ 2014-07-11 10:31 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-07-11 10:31 UTC (permalink / raw)
To: source
Log Message:
-----------
Remove unused variable.
Noticed by Thomas Klausner <wiz at NetBSD dor org>.
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-11 10:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-11 10:31 pod2mdoc: Remove unused variable schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).