Mark generated functions unused (applies to safestack, lhash, sparse_array)
authorRichard Levitte <levitte@openssl.org>
Fri, 15 Feb 2019 07:06:36 +0000 (08:06 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 15 Feb 2019 10:44:35 +0000 (11:44 +0100)
safestack.h, lhash.h and sparse_array.h all define macros to generate
a full API for the containers as static inline functions.  This
potentially generates unused code, which some compilers may complain
about.

We therefore need to mark those generated functions as unused, so the
compiler knows that we know, and stops complaining about it.

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/8246)


No differences found