aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-11-12 02:30:01 -0500
committerUlrich Drepper <drepper@gmail.com>2011-11-12 02:30:01 -0500
commit9694fc4479ce3c9b9e5df3f81a958d120f60962b (patch)
treeabd7f615bcca79bf55d3a737ed7dea4a36b24871 /resolv
parent8ad89ef88d66f13e139c7dbd16b78729ec1af41c (diff)
downloadglibc-9694fc4479ce3c9b9e5df3f81a958d120f60962b.zip
glibc-9694fc4479ce3c9b9e5df3f81a958d120f60962b.tar.gz
glibc-9694fc4479ce3c9b9e5df3f81a958d120f60962b.tar.bz2
Avoid unused warning in getaddrinfo_a
Diffstat (limited to 'resolv')
-rw-r--r--resolv/getaddrinfo_a.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/resolv/getaddrinfo_a.c b/resolv/getaddrinfo_a.c
index f6af3aa..6f4ad8d 100644
--- a/resolv/getaddrinfo_a.c
+++ b/resolv/getaddrinfo_a.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2006, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2001.
@@ -125,8 +125,8 @@ getaddrinfo_a (int mode, struct gaicb *list[], int ent, struct sigevent *sig)
while (total > 0)
{
#ifdef DONT_NEED_GAI_MISC_COND
- int result;
- GAI_MISC_WAIT (result, total, NULL, 1);
+ int not_used __attribute__ ((unused));
+ GAI_MISC_WAIT (not_used, total, NULL, 1);
#else
pthread_cond_wait (&cond, &__gai_requests_mutex);
#endif