From: Petr Vaněk Date: Sun, 17 Apr 2016 14:53:08 +0000 (+0000) Subject: remove dead store in res_msend X-Git-Tag: v1.1.15~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7d05c7894aa15ea6decdeca481ffed3f14cb521;p=musl remove dead store in res_msend The variable nss is set to zero in following line. --- diff --git a/src/network/res_msend.c b/src/network/res_msend.c index a47d18dd..de7f6157 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; nnsnns; nns++) { const struct address *iplit = &conf->ns[nns]; if (iplit->family == AF_INET) {