diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2010-06-18 07:08:05 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2010-06-18 07:08:05 +0000 |
commit | 963ed08644bf24f6453354093d9c64c31583fa7e (patch) | |
tree | 809db33fb65677bb9c8524d5c5edc72dccb93557 /queue.cpp | |
parent | e562437c88d18d206d079aa0ed07f5be57203a4a (diff) | |
download | cryptopp-963ed08644bf24f6453354093d9c64c31583fa7e.tar.gz |
fix compiler/Valgrind warning
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@489 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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); } |