[Scummvm-git-logs] scummvm master -> e5881d36215ef39c8b784752b1648fde4d335f95

sev- noreply at scummvm.org
Sat Aug 6 09:30:48 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e5881d3621 COMMON: Uninit field cleanup


Commit: e5881d36215ef39c8b784752b1648fde4d335f95
    https://github.com/scummvm/scummvm/commit/e5881d36215ef39c8b784752b1648fde4d335f95
Author: elasota (ejlasota at gmail.com)
Date: 2022-08-06T11:30:43+02:00

Commit Message:
COMMON: Uninit field cleanup

Changed paths:
    common/quicktime.cpp
    common/winexe.h


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; }
 




More information about the Scummvm-git-logs mailing list