From: Moritz Bunkus Date: Wed, 24 Aug 2011 18:59:02 +0000 (+0000) Subject: Always initialize member variables X-Git-Tag: release-1.3.0~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5306bbeda8753c835b0aa4b69be11c3d9ba639f;p=libmatroska Always initialize member variables git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@792 a6f86f6d-0131-4f8e-9e7b-e335508773d5 --- 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) {