projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3307ea
)
Avoid warnings.
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 14 Dec 2007 18:11:11 +0000
(18:11 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 14 Dec 2007 18:11:11 +0000
(18:11 +0000)
crypto/dyn_lck.c
patch
|
blob
|
history
diff --git
a/crypto/dyn_lck.c
b/crypto/dyn_lck.c
index 0ca9b633b7980cab850080dbb93fa0478cc58b14..926b0b7f4993dac63b912b95c67bb6087b2ea64b 100644
(file)
--- 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;