From d21cbd7d5e8be3f21ffec0491b7627d02fad57ea Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 4 Apr 2015 16:22:26 +0200 Subject: [PATCH] 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) --- crypto/ebcdic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1