aboutsummaryrefslogtreecommitdiffstats
path: root/chilbert
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-08-05 12:23:55 +0200
committerDavid Robillard <d@drobilla.net>2018-08-07 20:01:23 +0200
commit99cf4755e4262dd4ec55979986a289bf6abc7c6d (patch)
treed2645f0907c7b88e3dd78426371a150ef1f7baf8 /chilbert
parenta052d57243e00f0e0de15ed6b8d02e60cbd755fe (diff)
downloadchilbert-99cf4755e4262dd4ec55979986a289bf6abc7c6d.tar.gz
chilbert-99cf4755e4262dd4ec55979986a289bf6abc7c6d.tar.bz2
chilbert-99cf4755e4262dd4ec55979986a289bf6abc7c6d.zip
Fix potential use of uninitialized memory
Diffstat (limited to 'chilbert')
-rw-r--r--chilbert/FixBitVec.hpp4
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.