diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-02-28 14:05:01 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-02-28 14:05:01 +0000 |
commit | 56c7754cab3da9745e52e36b0bf998f8356fd6d5 (patch) | |
tree | 2662cabb231e7746ad33b8d55e90dbf4b2add3d2 /crypto/cryptlib.c | |
parent | 92e2c81affaeb44e82fe2fdd17b201693cc2e161 (diff) |
Avoid warnings.
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r-- | crypto/cryptlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 2df38fa75f..33c70afa33 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -278,7 +278,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) @@ -320,7 +320,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; |