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

eriktorbjorn noreply at scummvm.org
Fri Jan 3 20:42:39 UTC 2025


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:
caedf27253 ASYLUM: Initialize variables to silence Valgrind warnings


Commit: caedf27253d1837a977be161963fa8c524b5504e
    https://github.com/scummvm/scummvm/commit/caedf27253d1837a977be161963fa8c524b5504e
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2025-01-03T21:42:12+01:00

Commit Message:
ASYLUM: Initialize variables to silence Valgrind warnings

Changed paths:
    engines/asylum/views/scene.cpp


diff --git a/engines/asylum/views/scene.cpp b/engines/asylum/views/scene.cpp
index df5a6df6531..820d8172aa3 100644
--- a/engines/asylum/views/scene.cpp
+++ b/engines/asylum/views/scene.cpp
@@ -69,6 +69,9 @@ Scene::Scene(AsylumEngine *engine): _vm(engine),
 	_musicVolume = 0;
 	_frameCounter = 0;
 
+	_keyState = 0;
+	_rightButtonDown = false;
+
 	_savedScreen.create(640, 480, Graphics::PixelFormat::createFormatCLUT8());
 
 	_debugShowVersion = false;




More information about the Scummvm-git-logs mailing list