From b2e063566098dc24cc4de8ce05f7524f0f560084 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Mon, 26 Jun 2023 12:25:05 +0200 Subject: [PATCH] Fix unused parameter warnings for x86 non-GCC (GH #1218) These were suppressed for MSVC until commit dced966b7ac. --- sha.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sha.cpp b/sha.cpp index 057bb9ad..4796b411 100644 --- a/sha.cpp +++ b/sha.cpp @@ -835,6 +835,9 @@ INTEL_NOPREFIX , "%ebx" #endif ); +#else + CRYPTOPP_UNUSED(state); + CRYPTOPP_UNUSED(data); #endif } @@ -1303,6 +1306,8 @@ void CRYPTOPP_FASTCALL SHA512_HashBlock_SSE2(word64 *state, const word64 *data) #endif ); #else + CRYPTOPP_UNUSED(state); + CRYPTOPP_UNUSED(data); AS1( pop edi) AS1( pop esi) AS1( pop ebx)