mirror of git://git.musl-libc.org/musl
remove dead store in res_msend
The variable nss is set to zero in following line.
This commit is contained in:
parent
5972c4a411
commit
e7d05c7894
|
@ -52,7 +52,6 @@ int __res_msend_rc(int nqueries, const unsigned char *const *queries,
|
||||||
timeout = 1000*conf->timeout;
|
timeout = 1000*conf->timeout;
|
||||||
attempts = conf->attempts;
|
attempts = conf->attempts;
|
||||||
|
|
||||||
nns = conf->nns;
|
|
||||||
for (nns=0; nns<conf->nns; nns++) {
|
for (nns=0; nns<conf->nns; nns++) {
|
||||||
const struct address *iplit = &conf->ns[nns];
|
const struct address *iplit = &conf->ns[nns];
|
||||||
if (iplit->family == AF_INET) {
|
if (iplit->family == AF_INET) {
|
||||||
|
|
Loading…
Reference in New Issue