diff options
Diffstat (limited to 'lib/bind/irs')
-rw-r--r-- | lib/bind/irs/gai_strerror.c | 2 | ||||
-rw-r--r-- | lib/bind/irs/irs_data.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/bind/irs/gai_strerror.c b/lib/bind/irs/gai_strerror.c index 90e90cdd..9ca1c4bf 100644 --- a/lib/bind/irs/gai_strerror.c +++ b/lib/bind/irs/gai_strerror.c @@ -69,7 +69,7 @@ gai_strerror(int ecode) { goto unknown; if (!once) { if (pthread_key_create(&key, free) != 0) { - pthread_mutex_unlock(&lock); + (void)pthread_mutex_unlock(&lock); goto unknown; } once = 1; diff --git a/lib/bind/irs/irs_data.c b/lib/bind/irs/irs_data.c index a3e776a6..cd8ba00c 100644 --- a/lib/bind/irs/irs_data.c +++ b/lib/bind/irs/irs_data.c @@ -16,7 +16,7 @@ */ #if !defined(LINT) && !defined(CODECENTER) -static const char rcsid[] = "$Id: irs_data.c,v 1.11 2007/02/25 23:46:58 marka Exp $"; +static const char rcsid[] = "$Id: irs_data.c,v 1.12 2007/08/27 03:32:26 marka Exp $"; #endif #include "port_before.h" @@ -133,7 +133,7 @@ net_data_init(const char *conf_file) { return (NULL); if (!once) { if (pthread_key_create(&key, net_data_destroy) != 0) { - pthread_mutex_unlock(&keylock); + (void)pthread_mutex_unlock(&keylock); return (NULL); } once = 1; |