projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5972c4a
)
remove dead store in res_msend
author
Petr Vaněk
<pv@excello.cz>
Sun, 17 Apr 2016 14:53:08 +0000
(14:53 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 18 Apr 2016 05:31:17 +0000
(
01:31
-0400)
The variable nss is set to zero in following line.
src/network/res_msend.c
patch
|
blob
|
history
diff --git
a/src/network/res_msend.c
b/src/network/res_msend.c
index a47d18ddbffb4697542d533bbb74128c0c03ea1c..de7f615762e72b577ebc09c48363fad8ac27fb44 100644
(file)
--- 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) {