From a49e2ee2e77199d9d4132fdc20c192a6db97ffba Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 1 Dec 2018 11:25:18 -0500 Subject: [PATCH] Clear unused variable warnings on iOS --- adv_simd.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/adv_simd.h b/adv_simd.h index c72b434d..f84e60d9 100644 --- a/adv_simd.h +++ b/adv_simd.h @@ -367,11 +367,11 @@ CRYPTOPP_INLINE size_t AdvancedProcessBlocks128_6x1_NEON(F1 func1, F6 func6, #if (CRYPTOPP_LITTLE_ENDIAN) const uint32x4_t s_one = {0, 0, 0, 1<<24}; - const uint32x4_t s_two = {0, 2<<24, 0, 2<<24}; + //const uint32x4_t s_two = {0, 2<<24, 0, 2<<24}; #else // TODO: verify these constants on ARM-BE const uint32x4_t s_one = {0, 0, 0, 1}; - const uint32x4_t s_two = {0, 2, 0, 2}; + //const uint32x4_t s_two = {0, 2, 0, 2}; #endif const size_t blockSize = 16; @@ -530,11 +530,11 @@ CRYPTOPP_INLINE size_t AdvancedProcessBlocks128_4x1_NEON(F1 func1, F4 func4, #if (CRYPTOPP_LITTLE_ENDIAN) const uint32x4_t s_one = {0, 0, 0, 1<<24}; - const uint32x4_t s_two = {0, 2<<24, 0, 2<<24}; + //const uint32x4_t s_two = {0, 2<<24, 0, 2<<24}; #else // TODO: verify these constants on ARM-BE const uint32x4_t s_one = {0, 0, 0, 1}; - const uint32x4_t s_two = {0, 2, 0, 2}; + //const uint32x4_t s_two = {0, 2, 0, 2}; #endif const size_t blockSize = 16;