summaryrefslogtreecommitdiff
path: root/lea_simd.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-03-06 10:42:51 -0500
committerJeffrey Walton <noloader@gmail.com>2021-03-06 10:42:51 -0500
commitfa5a8841bfcf575d5d9625a409f555d125ff55d4 (patch)
tree8ecbf7f1adac314fefeda8ed28c3d8ea677fc080 /lea_simd.cpp
parent310b4b715f1ef4b028aca98e39fcaa5928116ab1 (diff)
downloadcryptopp-git-fa5a8841bfcf575d5d9625a409f555d125ff55d4.tar.gz
Clear elevated warnings on Apple M1
Diffstat (limited to 'lea_simd.cpp')
-rw-r--r--lea_simd.cpp5
1 files changed, 5 insertions, 0 deletions
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);
}