diff options
author | jwalch <jeremy.walch@gmail.com> | 2021-02-19 23:58:17 +0100 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-21 13:04:22 +0100 |
commit | 937a62323b67bfff59c795e90df3acf66bb4579a (patch) | |
tree | c341ffb5a4e93712f8de113455f6ad087ee5eb3b | |
parent | DECODER: Add better tracing of the chain walking process (diff) | |
download | openssl-937a62323b67bfff59c795e90df3acf66bb4579a.tar.xz openssl-937a62323b67bfff59c795e90df3acf66bb4579a.zip |
-Wunused-function cleanup
core_dispatch.h seems to be the source of some compiler warnings with legacy applications in alpha12 now that it is implicitly exported via evp.h
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14260)
-rw-r--r-- | include/openssl/core_dispatch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/core_dispatch.h b/include/openssl/core_dispatch.h index 0377424434..c4e109156f 100644 --- a/include/openssl/core_dispatch.h +++ b/include/openssl/core_dispatch.h @@ -44,7 +44,7 @@ extern "C" { */ #define OSSL_CORE_MAKE_FUNC(type,name,args) \ typedef type (OSSL_FUNC_##name##_fn)args; \ - static ossl_inline \ + static ossl_unused ossl_inline \ OSSL_FUNC_##name##_fn *OSSL_FUNC_##name(const OSSL_DISPATCH *opf) \ { \ return (OSSL_FUNC_##name##_fn *)opf->function; \ |