From 8da07655ee528126e00e338b48e62be5845918e8 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sun, 2 Nov 2008 09:00:25 +0000 Subject: [PATCH] Fix warning. --- crypto/sha/sha512.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/crypto/sha/sha512.c b/crypto/sha/sha512.c index 86115d890d..832cae24f1 100644 --- a/crypto/sha/sha512.c +++ b/crypto/sha/sha512.c @@ -632,4 +632,10 @@ static void sha512_block_data_order (SHA512_CTX *ctx, const void *in, size_t num #endif /* SHA512_ASM */ -#endif /* OPENSSL_NO_SHA512 */ +#else /* !OPENSSL_NO_SHA512 */ + +#if defined(PEDANTIC) || defined(__DECC) || defined(OPENSSL_SYS_MACOSX) +static void *dummy=&dummy; +#endif + +#endif /* !OPENSSL_NO_SHA512 */ -- 2.25.1