Fix unused parameter warnings for x86 non-GCC (GH #1218)

These were suppressed for MSVC until commit dced966b7a.
This commit is contained in:
Marcel Raad 2023-06-26 12:25:05 +02:00 committed by GitHub
parent 1659a9ef64
commit b2e0635660
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)