remove unused return value assignments

Fixes: #13555

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13577)
This commit is contained in:
Pauli 2020-12-01 10:58:32 +10:00
parent 70cae332a2
commit 30742e8e7f
2 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg)
ndef_aux->derbuf = p; ndef_aux->derbuf = p;
*pbuf = 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) if (*ndef_aux->boundary == NULL)
return 0; return 0;

View File

@ -176,7 +176,7 @@ static void init_thread_remove_handlers(THREAD_EVENT_HANDLER **handsin)
= sk_THREAD_EVENT_HANDLER_PTR_value(gtr->skhands, i); = sk_THREAD_EVENT_HANDLER_PTR_value(gtr->skhands, i);
if (hands == handsin) { 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); CRYPTO_THREAD_unlock(gtr->lock);
return; return;
} }