Skip to content

Commit

Permalink
Removed debug instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
noloader committed Jan 24, 2017
1 parent 8166959 commit 3dbf6e7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions integer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,17 +353,7 @@ class DWord
class Word
{
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) {}
#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(hword low, hword high) : m_whole(low | (word(high) << (WORD_BITS/2))) {}

Expand Down

0 comments on commit 3dbf6e7

Please sign in to comment.