diff options
author | Matt Caswell <matt@openssl.org> | 2020-09-10 16:34:17 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-09-13 11:11:57 +0100 |
commit | 225c9660a5a3435d9bcfc9166b9f79f132996249 (patch) | |
tree | 31946bc12bc24f141558a542b79c31a693de2de6 /crypto/property | |
parent | 89b46350a322f85924d1226f7c149e4e068d0264 (diff) | |
download | openssl-225c9660a5a3435d9bcfc9166b9f79f132996249.zip openssl-225c9660a5a3435d9bcfc9166b9f79f132996249.tar.gz openssl-225c9660a5a3435d9bcfc9166b9f79f132996249.tar.bz2 |
Ignore unused return values from some sk_*() macros
Some compilers are very picky about unused return values.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12781)
Diffstat (limited to 'crypto/property')
-rw-r--r-- | crypto/property/property.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/property/property.c b/crypto/property/property.c index 608a909..c2238ac 100644 --- a/crypto/property/property.c +++ b/crypto/property/property.c @@ -316,7 +316,7 @@ int ossl_method_store_remove(OSSL_METHOD_STORE *store, int nid, if (impl->method.method == method) { impl_free(impl); - sk_IMPLEMENTATION_delete(alg->impls, i); + (void)sk_IMPLEMENTATION_delete(alg->impls, i); ossl_property_unlock(store); return 1; } |