diff options
author | weidai <weidai11@users.noreply.github.com> | 2010-06-18 07:08:05 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2010-06-18 07:08:05 +0000 |
commit | a8b398e042a93087667df476c115d1620760b03e (patch) | |
tree | 809db33fb65677bb9c8524d5c5edc72dccb93557 /queue.cpp | |
parent | d60229a02a18a285b1e25e45c0623b290207cf4c (diff) | |
download | cryptopp-git-a8b398e042a93087667df476c115d1620760b03e.tar.gz |
fix compiler/Valgrind warning
Diffstat (limited to 'queue.cpp')
-rw-r--r-- | queue.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -129,7 +129,7 @@ public: // ******************************************************** ByteQueue::ByteQueue(size_t nodeSize) - : m_lazyLength(0) + : m_lazyString(NULL), m_lazyLength(0) { SetNodeSize(nodeSize); m_head = m_tail = new ByteQueueNode(m_nodeSize); @@ -142,6 +142,7 @@ void ByteQueue::SetNodeSize(size_t nodeSize) } ByteQueue::ByteQueue(const ByteQueue ©) + : m_lazyString(NULL) { CopyFrom(copy); } |