From: schwarze@mdocml.bsd.lv
To: source@mdocml.bsd.lv
Subject: pod2mdoc: Remove unused variable.
Date: Fri, 11 Jul 2014 06:31:28 -0400 (EDT) [thread overview]
Message-ID: <201407111031.s6BAVSYw007580@krisdoz.my.domain> (raw)
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
reply other threads:[~2014-07-11 10:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201407111031.s6BAVSYw007580@krisdoz.my.domain \
--to=schwarze@mdocml.bsd.lv \
--cc=source@mdocml.bsd.lv \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).