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

lephilousophe noreply at scummvm.org
Sun Sep 18 18:44:36 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:
c83ff22c8a COMMON: Fix uninitialized member


Commit: c83ff22c8acabc85ca6d4d78c37f503fe985dba0
    https://github.com/scummvm/scummvm/commit/c83ff22c8acabc85ca6d4d78c37f503fe985dba0
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2022-09-18T20:43:33+02:00

Commit Message:
COMMON: Fix uninitialized member

It was never used but static analysis complained

Changed paths:
    common/events.cpp


diff --git a/common/events.cpp b/common/events.cpp
index 53c1aae94bc..98c8cb0ae51 100644
--- a/common/events.cpp
+++ b/common/events.cpp
@@ -175,6 +175,7 @@ void EventDispatcher::ignoreSources(bool ignore) {
 void EventDispatcher::registerObserver(EventObserver *obs, uint priority, bool autoFree, bool notifyPoll) {
 	ObserverEntry newEntry;
 
+	newEntry.ignore = false;
 	newEntry.observer = obs;
 	newEntry.priority = priority;
 	newEntry.autoFree = autoFree;




More information about the Scummvm-git-logs mailing list