From 225c9660a5a3435d9bcfc9166b9f79f132996249 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 10 Sep 2020 16:34:17 +0100 Subject: Ignore unused return values from some sk_*() macros Some compilers are very picky about unused return values. Reviewed-by: Richard Levitte Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/12781) --- crypto/property/property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/property') diff --git a/crypto/property/property.c b/crypto/property/property.c index 608a909d49..c2238ac63d 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; } -- cgit v1.2.3