Removed debug instrumentation

pull/378/head
Jeffrey Walton 2017-01-23 21:33:23 -05:00
parent 81669590d5
commit 3dbf6e785c
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 0 additions and 10 deletions

View File

@ -353,17 +353,7 @@ private:
class Word class Word
{ {
public: public:
// Converity finding on default ctor. We've isntrumented the code,
// and cannot uncover a case where it affects a result.
#if defined(__COVERITY__)
Word() : m_whole(0) {} Word() : m_whole(0) {}
#elif CRYPTOPP_DEBUG
// Repeating pattern of 1010 for debug builds to break things...
Word() : m_whole(0) {memset(&m_whole, 0xaa, sizeof(m_whole));}
#else
Word() {}
#endif
Word(word value) : m_whole(value) {} Word(word value) : m_whole(value) {}
Word(hword low, hword high) : m_whole(low | (word(high) << (WORD_BITS/2))) {} Word(hword low, hword high) : m_whole(low | (word(high) << (WORD_BITS/2))) {}