about summary refs log tree commit diff
path: root/src/network
diff options
context:
space:
mode:
authorPetr Vaněk <pv@excello.cz>2016-04-17 14:53:08 +0000
committerRich Felker <dalias@aerifal.cx>2016-04-18 01:31:17 -0400
commite7d05c7894aa15ea6decdeca481ffed3f14cb521 (patch)
treeaebab02f3e2e02073d8048b0019bf4040e912e90 /src/network
parent5972c4a4113e2a4de5edf519faf15296ae1eb3ed (diff)
downloadmusl-e7d05c7894aa15ea6decdeca481ffed3f14cb521.tar.gz
musl-e7d05c7894aa15ea6decdeca481ffed3f14cb521.tar.xz
musl-e7d05c7894aa15ea6decdeca481ffed3f14cb521.zip
remove dead store in res_msend
The variable nss is set to zero in following line.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/res_msend.c1
1 files changed, 0 insertions, 1 deletions
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; nns<conf->nns; nns++) {
 		const struct address *iplit = &conf->ns[nns];
 		if (iplit->family == AF_INET) {