COMMON: Fix uninitialized member

It was never used but static analysis complained
This commit is contained in:
Le Philousophe 2022-09-18 20:43:33 +02:00
parent 56f07b0e78
commit c83ff22c8a

View file

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