Fix warning.
authorBen Laurie <ben@openssl.org>
Sun, 2 Nov 2008 09:00:25 +0000 (09:00 +0000)
committerBen Laurie <ben@openssl.org>
Sun, 2 Nov 2008 09:00:25 +0000 (09:00 +0000)
crypto/sha/sha512.c

index 86115d890d5e563fccd3877189294d29a81f8232..832cae24f186bb9f6b66bd24fdff54f6612fb4c9 100644 (file)
@@ -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 */