Clear warnings at -Wall -Wextra
parent
1be58db828
commit
3d29f99af7
|
|
@ -73,7 +73,11 @@ inline __m128i UnpackXMM(const __m128i& a, const __m128i& b, const __m128i& c, c
|
|||
const __m128i& e, const __m128i& f, const __m128i& g, const __m128i& h)
|
||||
{
|
||||
// Should not be instantiated
|
||||
CRYPTOPP_ASSERT(0);;
|
||||
CRYPTOPP_UNUSED(a); CRYPTOPP_UNUSED(b);
|
||||
CRYPTOPP_UNUSED(c); CRYPTOPP_UNUSED(d);
|
||||
CRYPTOPP_UNUSED(e); CRYPTOPP_UNUSED(f);
|
||||
CRYPTOPP_UNUSED(g); CRYPTOPP_UNUSED(h);
|
||||
CRYPTOPP_ASSERT(0);
|
||||
return _mm_setzero_si128();
|
||||
}
|
||||
|
||||
|
|
@ -233,7 +237,8 @@ template <unsigned int IDX>
|
|||
inline __m128i UnpackXMM(const __m128i& v)
|
||||
{
|
||||
// Should not be instantiated
|
||||
CRYPTOPP_ASSERT(0);;
|
||||
CRYPTOPP_UNUSED(v); CRYPTOPP_ASSERT(0);
|
||||
|
||||
return _mm_setzero_si128();
|
||||
}
|
||||
|
||||
|
|
@ -839,7 +844,9 @@ template <unsigned int IDX>
|
|||
inline __m128i UnpackXMM(const __m128i& a, const __m128i& b, const __m128i& c, const __m128i& d)
|
||||
{
|
||||
// Should not be instantiated
|
||||
CRYPTOPP_ASSERT(0);;
|
||||
CRYPTOPP_UNUSED(a); CRYPTOPP_UNUSED(b);
|
||||
CRYPTOPP_UNUSED(c); CRYPTOPP_UNUSED(d);
|
||||
CRYPTOPP_ASSERT(0);
|
||||
return _mm_setzero_si128();
|
||||
}
|
||||
|
||||
|
|
@ -899,7 +906,7 @@ template <unsigned int IDX>
|
|||
inline __m128i UnpackXMM(const __m128i& v)
|
||||
{
|
||||
// Should not be instantiated
|
||||
CRYPTOPP_ASSERT(0);;
|
||||
CRYPTOPP_UNUSED(v); CRYPTOPP_ASSERT(0);
|
||||
return _mm_setzero_si128();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue