Module Name:    src
Committed By:   joerg
Date:           Mon May 23 14:34:29 UTC 2011

Modified Files:
        src/lib/libc/resolv: res_send.c

Log Message:
Remove self-assignment of an argument that is later used.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/libc/resolv/res_send.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/resolv/res_send.c
diff -u src/lib/libc/resolv/res_send.c:1.21 src/lib/libc/resolv/res_send.c:1.22
--- src/lib/libc/resolv/res_send.c:1.21	Wed Feb  9 09:46:59 2011
+++ src/lib/libc/resolv/res_send.c	Mon May 23 14:34:29 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: res_send.c,v 1.21 2011/02/09 09:46:59 pooka Exp $	*/
+/*	$NetBSD: res_send.c,v 1.22 2011/05/23 14:34:29 joerg Exp $	*/
 
 /*
  * Portions Copyright (C) 2004-2009  Internet Systems Consortium, Inc. ("ISC")
@@ -93,7 +93,7 @@
 static const char sccsid[] = "@(#)res_send.c	8.1 (Berkeley) 6/4/93";
 static const char rcsid[] = "Id: res_send.c,v 1.22 2009/01/22 23:49:23 tbox Exp";
 #else
-__RCSID("$NetBSD: res_send.c,v 1.21 2011/02/09 09:46:59 pooka Exp $");
+__RCSID("$NetBSD: res_send.c,v 1.22 2011/05/23 14:34:29 joerg Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -1066,8 +1066,6 @@
 	char hbuf[NI_MAXHOST];
 	char sbuf[NI_MAXSERV];
 
-	alen = alen;
-
 	if ((statp->options & RES_DEBUG) != 0U) {
 		if (getnameinfo(address, (socklen_t)alen, hbuf, sizeof(hbuf),
 		    sbuf, sizeof(sbuf), niflags)) {

Reply via email to