Avoid warnings.
This commit is contained in:
parent
b3307eae6d
commit
9e1468e482
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue