summary refs log tree commit diff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-05-10 07:58:39 +0000
committerUlrich Drepper <drepper@redhat.com>2006-05-10 07:58:39 +0000
commitecf359c68b2baf1bd76f8c5ff132b8c1a256056b (patch)
tree9486b342395098b2f4412704bd3726c973edbec8 /sysdeps/posix
parent400cc70af5972a50618702da02d18aee845ce542 (diff)
downloadglibc-ecf359c68b2baf1bd76f8c5ff132b8c1a256056b.tar.gz
glibc-ecf359c68b2baf1bd76f8c5ff132b8c1a256056b.tar.xz
glibc-ecf359c68b2baf1bd76f8c5ff132b8c1a256056b.zip
* posix/wordexp.c: Remove numerous NULL pointer tests before FREE
	calls.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/getaddrinfo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index 224381c8db..a78c670bfb 100644
--- a/sysdeps/posix/getaddrinfo.c
+++ b/sysdeps/posix/getaddrinfo.c
@@ -1042,7 +1042,6 @@ gaih_inet (const char *name, const struct gaih_service *service,
 	else
 	  socklen = sizeof (struct sockaddr_in);
 
-	struct addrinfo *pai_1st = pai;
 	for (st2 = st; st2 != NULL; st2 = st2->next)
 	  {
 	    struct addrinfo *ai;