Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/resolv Remove self-assignment of an argument that i...
details: https://anonhg.NetBSD.org/src/rev/63049e876b79
branches: trunk
changeset: 765248:63049e876b79
user: joerg <joerg%NetBSD.org@localhost>
date: Mon May 23 14:34:29 2011 +0000
description:
Remove self-assignment of an argument that is later used.
diffstat:
lib/libc/resolv/res_send.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r cb46c0fd9177 -r 63049e876b79 lib/libc/resolv/res_send.c
--- a/lib/libc/resolv/res_send.c Mon May 23 14:32:05 2011 +0000
+++ b/lib/libc/resolv/res_send.c Mon May 23 14:34:29 2011 +0000
@@ -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)) {
Home |
Main Index |
Thread Index |
Old Index