]> granicus.if.org Git - libmatroska/commitdiff
Always initialize member variables
authorMoritz Bunkus <moritz@bunkus.org>
Wed, 24 Aug 2011 18:59:02 +0000 (18:59 +0000)
committerMoritz Bunkus <moritz@bunkus.org>
Wed, 24 Aug 2011 18:59:02 +0000 (18:59 +0000)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@792 a6f86f6d-0131-4f8e-9e7b-e335508773d5

src/KaxBlockData.cpp

index f0de31d80120436d2317d03e8aa90c45b39b5518..d41c4f2888798c43c18f49c25ac34f6339cf85e8 100644 (file)
@@ -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)
 {