diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-11-05 14:41:43 +0000 |
---|---|---|
committer | abiesheuvel <abiesheuvel@Edk2> | 2015-11-05 14:41:43 +0000 |
commit | a100d0073b365bc4f0ac95d30934e639e31175ac (patch) | |
tree | e4a7b3dd692614284c792245419acb29237dac40 /ShellPkg/ShellPkg.dec | |
parent | 45419de6ca5bad34567e0ca2a16a4bc78f6a6f63 (diff) | |
download | edk2-platforms-a100d0073b365bc4f0ac95d30934e639e31175ac.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.
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/trunk/edk2@18730 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/ShellPkg.dec')
0 files changed, 0 insertions, 0 deletions