From 8146eda6a32c04063adece40b312369c79b7a349 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 9 Mar 2018 06:45:32 -0500 Subject: [PATCH] Clear unused variable warnings under GCC --- adv-simd.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/adv-simd.h b/adv-simd.h index 7a560764..36e5015d 100644 --- a/adv-simd.h +++ b/adv-simd.h @@ -83,12 +83,10 @@ inline size_t AdvancedProcessBlocks64_6x2_NEON(F2 func2, F6 func6, #if defined(CRYPTOPP_LITTLE_ENDIAN) const word32 s_zero32x4[] = {0, 0, 0, 0}; - const word32 s_one32x4[] = {0, 0, 0, 1<<24}; const word32 s_one32x4_1b[] = {0, 0, 0, 1<<24}; const word32 s_one32x4_2b[] = {0, 2<<24, 0, 2<<24}; #else const word32 s_zero32x4[] = {0, 0, 0, 0}; - const word32 s_one32x4[] = {0, 0, 0, 1}; const word32 s_one32x4_1b[] = {0, 0, 0, 1}; const word32 s_one32x4_2b[] = {0, 2, 0, 2}; #endif @@ -328,13 +326,9 @@ inline size_t AdvancedProcessBlocks128_NEON1x6(F1 func1, F6 func6, #if defined(CRYPTOPP_LITTLE_ENDIAN) const word32 s_zero32x4[] = {0, 0, 0, 0}; const word32 s_one32x4[] = {0, 0, 0, 1<<24}; - const word32 s_one32x4_1b[] = {0, 0, 0, 1<<24}; - const word32 s_one32x4_2b[] = {0, 2<<24, 0, 2<<24}; #else const word32 s_zero32x4[] = {0, 0, 0, 0}; const word32 s_one32x4[] = {0, 0, 0, 1}; - const word32 s_one32x4_1b[] = {0, 0, 0, 1}; - const word32 s_one32x4_2b[] = {0, 2, 0, 2}; #endif const ptrdiff_t blockSize = 16; @@ -481,15 +475,9 @@ inline size_t AdvancedProcessBlocks128_6x2_NEON(F2 func2, F6 func6, CRYPTOPP_ASSERT(length >= 16); #if defined(CRYPTOPP_LITTLE_ENDIAN) - const word32 s_zero32x4[] = {0, 0, 0, 0}; const word32 s_one32x4[] = {0, 0, 0, 1<<24}; - const word32 s_one32x4_1b[] = {0, 0, 0, 1<<24}; - const word32 s_one32x4_2b[] = {0, 2<<24, 0, 2<<24}; #else - const word32 s_zero32x4[] = {0, 0, 0, 0}; const word32 s_one32x4[] = {0, 0, 0, 1}; - const word32 s_one32x4_1b[] = {0, 0, 0, 1}; - const word32 s_one32x4_2b[] = {0, 2, 0, 2}; #endif const ptrdiff_t blockSize = 16;