diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-12-10 07:15:53 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-12-10 07:15:53 +0000 |
commit | 93b745fa60c3f188eeaa93f120ad33d1469a648b (patch) | |
tree | 64c078b701813dbb4b1a39dfef686d204f400693 /CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf | |
parent | e5ece6913432c3dfdb842035021d4521ecd1836c (diff) | |
download | edk2-platforms-93b745fa60c3f188eeaa93f120ad33d1469a648b.tar.xz |
CryptoPkg: fix AARCH64 build under CLANG35
The OpenSSL function sk_X509_delete_ptr() resolves through preprocessor
substitution to '(X509 *)sk_delete_ptr()', in which the cast causes the
call to be interpreted as an expression (whose value is not used) rather
than a statement, resulting in the following error under Clang:
...: error: expression result unused [-Werror,-Wunused-value]
Add (VOID) casts to silence the error.
(Sync patch r18730 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Qin Long <qin.long@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19185 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf')
0 files changed, 0 insertions, 0 deletions