Remove unused variable in getaddrinfo.c

Andreas Jaeger aj@suse.de
Wed May 10 06:16:00 GMT 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20060510/271d0959/attachment.sig>


More information about the Libc-hacker mailing list