diff options
author | Pauli <paul.dale@oracle.com> | 2020-12-01 10:58:32 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-12-03 11:21:33 +1000 |
commit | 30742e8e7f93f58964bf7619f9c1783e6b3b03fc (patch) | |
tree | 8a98be6cf5c49b0c91a8ef1a019b5ccaa41cd1d0 | |
parent | 70cae332a2c200087605f94cdccfee80c9380fbf (diff) |
remove unused return value assignments
Fixes: #13555
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13577)
-rw-r--r-- | crypto/asn1/bio_ndef.c | 2 | ||||
-rw-r--r-- | crypto/initthread.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/bio_ndef.c b/crypto/asn1/bio_ndef.c index b86b294bf1..87c22e897c 100644 --- a/crypto/asn1/bio_ndef.c +++ b/crypto/asn1/bio_ndef.c @@ -121,7 +121,7 @@ static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg) ndef_aux->derbuf = p; *pbuf = p; - derlen = ASN1_item_ndef_i2d(ndef_aux->val, &p, ndef_aux->it); + ASN1_item_ndef_i2d(ndef_aux->val, &p, ndef_aux->it); if (*ndef_aux->boundary == NULL) return 0; diff --git a/crypto/initthread.c b/crypto/initthread.c index 93160f577c..8a7afbfd86 100644 --- a/crypto/initthread.c +++ b/crypto/initthread.c @@ -176,7 +176,7 @@ static void init_thread_remove_handlers(THREAD_EVENT_HANDLER **handsin) = sk_THREAD_EVENT_HANDLER_PTR_value(gtr->skhands, i); if (hands == handsin) { - hands = sk_THREAD_EVENT_HANDLER_PTR_delete(gtr->skhands, i); + sk_THREAD_EVENT_HANDLER_PTR_delete(gtr->skhands, i); CRYPTO_THREAD_unlock(gtr->lock); return; } |