From: Richard Levitte Date: Sat, 4 Apr 2015 14:22:26 +0000 (+0200) Subject: Appease clang -Wempty-translation-unit X-Git-Tag: OpenSSL_1_0_2b~141 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d21cbd7d5e8be3f21ffec0491b7627d02fad57ea;p=oweals%2Fopenssl.git Appease clang -Wempty-translation-unit ebcdic.c:284:7: warning: ISO C requires a translation unit to contain at least one declaration [-Wempty-translation-unit] ^ 1 warning generated. Reviewed-by: Rich Salz (cherry picked from commit c25dea53e9db2b4956c315f85dae3f1c2854fd2b) --- diff --git a/crypto/ebcdic.c b/crypto/ebcdic.c index 4b7652c0ec..fd6df92b46 100644 --- a/crypto/ebcdic.c +++ b/crypto/ebcdic.c @@ -3,7 +3,7 @@ #ifndef CHARSET_EBCDIC # include -# if defined(PEDANTIC) || defined(__DECC) || defined(OPENSSL_SYS_MACOSX) +# if defined(PEDANTIC) || defined(__DECC) || defined(OPENSSL_SYS_MACOSX) || defined(__clang__) static void *dummy = &dummy; # endif