From fa5a8841bfcf575d5d9625a409f555d125ff55d4 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 6 Mar 2021 10:42:51 -0500 Subject: Clear elevated warnings on Apple M1 --- lea_simd.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lea_simd.cpp') diff --git a/lea_simd.cpp b/lea_simd.cpp index b0ffc767..16ed4ee3 100644 --- a/lea_simd.cpp +++ b/lea_simd.cpp @@ -183,6 +183,9 @@ inline uint32x4_t UnpackNEON(const uint32x4_t& a, const uint32x4_t& b, const uin { // Should not be instantiated CRYPTOPP_ASSERT(0); + + CRYPTOPP_UNUSED(a); CRYPTOPP_UNUSED(b); + CRYPTOPP_UNUSED(c); CRYPTOPP_UNUSED(d); return vmovq_n_u32(0); } @@ -223,6 +226,8 @@ inline uint32x4_t UnpackNEON(const uint32x4_t& v) { // Should not be instantiated CRYPTOPP_ASSERT(0); + + CRYPTOPP_UNUSED(v); return vmovq_n_u32(0); } -- cgit v1.2.1