This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Remove unused variable in getaddrinfo.c


Ok to commit?  The variable is completely unused...

Andreas

2006-05-10  Andreas Jaeger  <aj@suse.de>

	* sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unused variable.

============================================================
Index: sysdeps/posix/getaddrinfo.c
--- sysdeps/posix/getaddrinfo.c	9 May 2006 23:42:55 -0000	1.102
+++ sysdeps/posix/getaddrinfo.c	10 May 2006 06:15:52 -0000
@@ -1042,7 +1042,6 @@ gaih_inet (const char *name, const struc
 	else
 	  socklen = sizeof (struct sockaddr_in);
 
-	struct addrinfo *pai_1st = pai;
 	for (st2 = st; st2 != NULL; st2 = st2->next)
 	  {
 	    struct addrinfo *ai;

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj/
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]