diff options
author | David Robillard <d@drobilla.net> | 2018-08-05 12:23:55 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-08-07 20:01:23 +0200 |
commit | 99cf4755e4262dd4ec55979986a289bf6abc7c6d (patch) | |
tree | d2645f0907c7b88e3dd78426371a150ef1f7baf8 | |
parent | a052d57243e00f0e0de15ed6b8d02e60cbd755fe (diff) | |
download | chilbert-99cf4755e4262dd4ec55979986a289bf6abc7c6d.tar.gz chilbert-99cf4755e4262dd4ec55979986a289bf6abc7c6d.tar.bz2 chilbert-99cf4755e4262dd4ec55979986a289bf6abc7c6d.zip |
Fix potential use of uninitialized memory
-rw-r--r-- | chilbert/FixBitVec.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chilbert/FixBitVec.hpp b/chilbert/FixBitVec.hpp index ff31f1b..06f3455 100644 --- a/chilbert/FixBitVec.hpp +++ b/chilbert/FixBitVec.hpp @@ -48,16 +48,16 @@ public: CFixBitVec( int iBits = FBV_BITS ) + : m_uiRack{} { - return; } // Copy constructor. CFixBitVec( const CFixBitVec &cFBV ) + : m_uiRack{cFBV.m_uiRack} { - m_uiRack = cFBV.m_uiRack; } // Returns the current size in bits. |