mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 21:21:05 +00:00
COMMON: Initialize EventDispatcher::_autoFreeMapper.
This fixes a branching on uninitialized variable reported by valgrind on startup.
This commit is contained in:
parent
16748f1341
commit
71b031be12
@ -24,7 +24,7 @@
|
||||
|
||||
namespace Common {
|
||||
|
||||
EventDispatcher::EventDispatcher() : _mapper(0) {
|
||||
EventDispatcher::EventDispatcher() : _autoFreeMapper(false), _mapper(0) {
|
||||
}
|
||||
|
||||
EventDispatcher::~EventDispatcher() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user