remove dead store in res_msend

The variable nss is set to zero in following line.
This commit is contained in:
Petr Vaněk 2016-04-17 14:53:08 +00:00 committed by Rich Felker
parent 5972c4a411
commit e7d05c7894
1 changed files with 0 additions and 1 deletions

View File

@ -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) {