From e5881d36215ef39c8b784752b1648fde4d335f95 Mon Sep 17 00:00:00 2001 From: elasota Date: Fri, 5 Aug 2022 17:36:02 -0400 Subject: [PATCH] COMMON: Uninit field cleanup --- common/quicktime.cpp | 1 + common/winexe.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/quicktime.cpp b/common/quicktime.cpp index ae582894e9a..c49f53ac3f1 100644 --- a/common/quicktime.cpp +++ b/common/quicktime.cpp @@ -49,6 +49,7 @@ QuickTimeParser::QuickTimeParser() { _scaleFactorY = 1; _resFork = new MacResManager(); _disposeFileHandle = DisposeAfterUse::YES; + _timeScale = 1; initParseTable(); } diff --git a/common/winexe.h b/common/winexe.h index e5efc46cb4f..eb52f0b8c91 100644 --- a/common/winexe.h +++ b/common/winexe.h @@ -66,7 +66,7 @@ enum WinResourceType { class WinResourceID { public: - WinResourceID() { _idType = kIDTypeNull; } + WinResourceID() { _idType = kIDTypeNull; _id = 0; } WinResourceID(String x) { _idType = kIDTypeString; _name = x; } WinResourceID(uint32 x) { _idType = kIDTypeNumerical; _id = x; }