Selaa lähdekoodia

remove dead store in res_msend

The variable nss is set to zero in following line.
Petr Vaněk 9 vuotta sitten
vanhempi
sitoutus
e7d05c7894
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      src/network/res_msend.c

+ 0 - 1
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) {