Clear Coverity UNINIT_CTOR (CID 177739)

This was a valid finding, but the only way to get into the codepath leaving the hash unkeyed.
pull/398/head
Jeffrey Walton 2017-03-17 21:45:35 -04:00
parent 80bbc834fe
commit 690baaae97
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,10 @@ public:
return std::string(SipHash_Info<T_128bit>::StaticAlgorithmName())+"-"+IntToString(C)+"-"+IntToString(D);
}
virtual ~SipHash_Base() {}
SipHash_Base() : m_idx(0) {}
virtual unsigned int DigestSize() const
{return SipHash_Info<T_128bit>::DIGESTSIZE;}
virtual size_t MinKeyLength() const