From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9916 Path: news.gmane.org!not-for-mail From: Petr =?utf-8?B?VmFuxJtr?= Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] res_msend: Remove unnecessary line Date: Sun, 17 Apr 2016 14:53:08 +0000 Message-ID: <20160417145307.GA22154@localhost> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1460901096 11720 80.91.229.3 (17 Apr 2016 13:51:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Apr 2016 13:51:36 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9929-gllmg-musl=m.gmane.org@lists.openwall.com Sun Apr 17 15:51:35 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1arn6t-0006lt-A8 for gllmg-musl@m.gmane.org; Sun, 17 Apr 2016 15:51:35 +0200 Original-Received: (qmail 18233 invoked by uid 550); 17 Apr 2016 13:51:31 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 19765 invoked from network); 17 Apr 2016 12:53:07 -0000 X-VF-Scanner-Mail-From: pv@excello.cz X-VF-Scanner-Rcpt-To: musl@lists.openwall.com X-VF-Scanner-ID: 20160417125250.598050.9542.out2.0 X-Spam-Status: No, hits=-0.5, required=5.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=excello.cz; h= date:message-id:from:to:subject:reply-to; q=dns/txt; s=default; t=1460897570; n=Test; bh=wKoEecIsmbZAy/hVoL5iS5qbiROUfm/wMqLfTM 6UJrg=; b=UQaSa1MGOFaBo4zXZC4RIL4P5I4ktQ0Z5CN/UphG+ZFGEd/GCGcsGP Snqi4YxrsR5KOH2102ZyRz+J9d/OnQCEcZfvhfd35R3w4Wsb2GNSIGt2oy6eV5vp m3exTI5egN06DhH5ri8lP9qCHDtGvhPzRorOXd2+1Ep7r8+jN7IWc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=excello.cz; h=date:from:to :subject:message-id:mime-version:content-type; q=dns; s=default; b= f+fNF1BAMsGiGXDoEvY84Tdq8im5WHP4GmgApZcvpqIcUBRIRfEed7iHKWcKnMoy 3hZoXNG2MlebYvoCSN1FgmaNGmV5+g1I9CSAEFWqXgDJ70OfVfT6KBg6uW8ySFPS NirlTaZGMdEMulE6pR8g4zB8TxQC7MyZTBMP5tFVjxU= Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:9916 Archived-At: The variable nss is set to zero in following line, therefore this line is not needed. --- src/network/res_msend.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/network/res_msend.c b/src/network/res_msend.c index a47d18d..de7f615 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) { -- 2.7.3