[Scummvm-git-logs] scummvm master -> 7a99e06af887a789ff8f4fcc73d03989b702d37b

eriktorbjorn eriktorbjorn at telia.com
Thu Jan 28 14:00:08 UTC 2021


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:
7a99e06af8 SCUMM: Fix Valgrind warning about _isValid being uninitialized


Commit: 7a99e06af887a789ff8f4fcc73d03989b702d37b
    https://github.com/scummvm/scummvm/commit/7a99e06af887a789ff8f4fcc73d03989b702d37b
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-01-28T14:57:38+01:00

Commit Message:
SCUMM: Fix Valgrind warning about _isValid being uninitialized

Changed paths:
    engines/scumm/he/localizer.cpp


diff --git a/engines/scumm/he/localizer.cpp b/engines/scumm/he/localizer.cpp
index f5289531ea..00ca20f727 100644
--- a/engines/scumm/he/localizer.cpp
+++ b/engines/scumm/he/localizer.cpp
@@ -30,6 +30,8 @@ namespace Scumm {
 Localizer::Localizer() {
 	Common::File _file;
 
+	_isValid = false;
+
 	if (!_file.open("lokalizator.big"))
 		return;
 




More information about the Scummvm-git-logs mailing list