mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Avoid unused warning in getaddrinfo_a
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
2011-11-12 Ulrich Drepper <drepper@gmail.com>
|
2011-11-12 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
|
* resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
|
||||||
|
variable.
|
||||||
|
|
||||||
* sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
|
* sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
|
||||||
mantissa words.
|
mantissa words.
|
||||||
* sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
|
* sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
|
||||||
|
@@ -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.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2001.
|
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)
|
while (total > 0)
|
||||||
{
|
{
|
||||||
#ifdef DONT_NEED_GAI_MISC_COND
|
#ifdef DONT_NEED_GAI_MISC_COND
|
||||||
int result;
|
int not_used __attribute__ ((unused));
|
||||||
GAI_MISC_WAIT (result, total, NULL, 1);
|
GAI_MISC_WAIT (not_used, total, NULL, 1);
|
||||||
#else
|
#else
|
||||||
pthread_cond_wait (&cond, &__gai_requests_mutex);
|
pthread_cond_wait (&cond, &__gai_requests_mutex);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user