From 9e1468e482f5acbe49b97143121dc3c03d88e5f6 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 14 Dec 2007 18:11:11 +0000 Subject: [PATCH] Avoid warnings. --- crypto/dyn_lck.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/dyn_lck.c b/crypto/dyn_lck.c index 0ca9b633b7..926b0b7f49 100644 --- a/crypto/dyn_lck.c +++ b/crypto/dyn_lck.c @@ -269,7 +269,7 @@ int CRYPTO_get_new_dynlockid(void) else /* If we found a place with a NULL pointer, put our pointer in it. */ - sk_CRYPTO_dynlock_set(dyn_locks,i,pointer); + (void)sk_CRYPTO_dynlock_set(dyn_locks,i,pointer); CRYPTO_w_unlock(CRYPTO_LOCK_DYNLOCK); if (i == -1) @@ -311,7 +311,7 @@ void CRYPTO_destroy_dynlockid(int i) #endif if (pointer->references <= 0) { - sk_CRYPTO_dynlock_set(dyn_locks, i, NULL); + (void)sk_CRYPTO_dynlock_set(dyn_locks, i, NULL); } else pointer = NULL; -- 2.40.0