From: "Petr Vaněk" <pv@excello.cz>
To: musl@lists.openwall.com
Subject: [PATCH] res_msend: Remove unnecessary line
Date: Sun, 17 Apr 2016 14:53:08 +0000 [thread overview]
Message-ID: <20160417145307.GA22154@localhost> (raw)
The variable nss is set to zero in following line, therefore this line
is not needed.
---
src/network/res_msend.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/network/res_msend.c b/src/network/res_msend.c
index a47d18d..de7f615 100644
--- a/src/network/res_msend.c
+++ b/src/network/res_msend.c
@@ -52,7 +52,6 @@ int __res_msend_rc(int nqueries, const unsigned char *const *queries,
timeout = 1000*conf->timeout;
attempts = conf->attempts;
- nns = conf->nns;
for (nns=0; nns<conf->nns; nns++) {
const struct address *iplit = &conf->ns[nns];
if (iplit->family == AF_INET) {
--
2.7.3
next reply other threads:[~2016-04-17 14:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-17 14:53 Petr Vaněk [this message]
2016-04-18 5:29 ` Rich Felker
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=20160417145307.GA22154@localhost \
--to=pv@excello.cz \
--cc=musl@lists.openwall.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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).