From eff6973ad8659f6856d467e550bbf642aac2eaac Mon Sep 17 00:00:00 2001 From: dim Date: Thu, 15 Dec 2011 20:10:12 +0000 Subject: Remove meaningless self-assignment in res_send.c, otherwise clang will warn about it. I guess this was originally done to silence a bogus warning by an older version of gcc, but I could not reproduce it with any version of gcc that I have access to. MFC after: 1 week --- lib/libc/resolv/res_send.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') diff --git a/lib/libc/resolv/res_send.c b/lib/libc/resolv/res_send.c index d4f0c33..716ae32 100644 --- a/lib/libc/resolv/res_send.c +++ b/lib/libc/resolv/res_send.c @@ -1102,8 +1102,6 @@ Aerror(const res_state statp, FILE *file, const char *string, int error, char hbuf[NI_MAXHOST]; char sbuf[NI_MAXSERV]; - alen = alen; - if ((statp->options & RES_DEBUG) != 0U) { if (getnameinfo(address, alen, hbuf, sizeof(hbuf), sbuf, sizeof(sbuf), niflags)) { -- cgit v1.1