mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-21 13:53:43 +00:00
Clear unused variable warnings under MSVC
This commit is contained in:
parent
81a5429e56
commit
8019362bd6
@ -59,6 +59,7 @@ NAMESPACE_BEGIN(CryptoPP)
|
||||
// Fills 4 bytes
|
||||
inline void RDRAND32(void* output)
|
||||
{
|
||||
CRYPTOPP_UNUSED(output); // MSC warning
|
||||
#if defined(GCC_RDRAND_ASM_AVAILABLE)
|
||||
__asm__ __volatile__
|
||||
(
|
||||
@ -75,6 +76,7 @@ inline void RDRAND32(void* output)
|
||||
// Fills 8 bytes
|
||||
inline void RDRAND64(void* output)
|
||||
{
|
||||
CRYPTOPP_UNUSED(output); // MSC warning
|
||||
#if defined(GCC_RDRAND_ASM_AVAILABLE)
|
||||
__asm__ __volatile__
|
||||
(
|
||||
@ -163,6 +165,7 @@ void RDRAND::DiscardBytes(size_t n)
|
||||
// Fills 4 bytes
|
||||
inline void RDSEED32(void* output)
|
||||
{
|
||||
CRYPTOPP_UNUSED(output); // MSC warning
|
||||
#if defined(GCC_RDSEED_ASM_AVAILABLE)
|
||||
__asm__ __volatile__
|
||||
(
|
||||
@ -179,6 +182,7 @@ inline void RDSEED32(void* output)
|
||||
// Fills 8 bytes
|
||||
inline void RDSEED64(void* output)
|
||||
{
|
||||
CRYPTOPP_UNUSED(output); // MSC warning
|
||||
#if defined(GCC_RDSEED_ASM_AVAILABLE)
|
||||
__asm__ __volatile__
|
||||
(
|
||||
|
Loading…
x
Reference in New Issue
Block a user