From b5306bbeda8753c835b0aa4b69be11c3d9ba639f Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 24 Aug 2011 18:59:02 +0000 Subject: [PATCH] Always initialize member variables git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@792 a6f86f6d-0131-4f8e-9e7b-e335508773d5 --- src/KaxBlockData.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/KaxBlockData.cpp b/src/KaxBlockData.cpp index f0de31d..d41c4f2 100644 --- a/src/KaxBlockData.cpp +++ b/src/KaxBlockData.cpp @@ -52,12 +52,16 @@ KaxReferenceBlock::KaxReferenceBlock(EBML_EXTRA_DEF) :EBML_DEF_SINTEGER(KaxReferenceBlock)EBML_DEF_SEP RefdBlock(NULL) ,ParentBlock(NULL) +,bTimecodeSet(false) +,bOurBlob(false) { bTimecodeSet = false; } KaxReferenceBlock::KaxReferenceBlock(const KaxReferenceBlock & ElementToClone) :EbmlSInteger(ElementToClone) +,RefdBlock(NULL) +,ParentBlock(NULL) ,bTimecodeSet(ElementToClone.bTimecodeSet) ,bOurBlob(false) { -- 2.40.0