Fix uninitialized fields of ZapperStats (#13773)
authorHanjoung Lee <waterets@gmail.com>
Mon, 4 Sep 2017 23:33:13 +0000 (08:33 +0900)
committerJan Kotas <jkotas@microsoft.com>
Mon, 4 Sep 2017 23:33:13 +0000 (16:33 -0700)
src/zap/zapperstats.cpp

index 3265d02..40c03dd 100644 (file)
@@ -91,6 +91,9 @@ ZapperStats::ZapperStats()
     , m_nativeColdCodeSizeInSplitProfiledMethods( 0 )
     , m_nativeCodeSizeInProfiledMethods( 0 )
     , m_nativeColdCodeSizeInProfiledMethods( 0 )
+    , m_totalHotCodeSize( 0 )
+    , m_totalUnprofiledCodeSize( 0 )
+    , m_totalColdCodeSize( 0 )
     , m_totalCodeSizeInProfiledMethods( 0 )
     , m_totalColdCodeSizeInProfiledMethods( 0 )
     , m_inputFileSize( 0 )