From 085686552d793fe4ab2c31b103df83b812dc89e3 Mon Sep 17 00:00:00 2001 From: AJR Date: Wed, 21 Oct 2020 11:04:18 -0400 Subject: cammu: Attempted fix for build problem on more recent clang versions --- src/mame/machine/cammu.cpp | 1 - src/mame/machine/cammu.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mame/machine/cammu.cpp b/src/mame/machine/cammu.cpp index 1c2b82c689e..dabc637f085 100644 --- a/src/mame/machine/cammu.cpp +++ b/src/mame/machine/cammu.cpp @@ -153,7 +153,6 @@ cammu_c3_device::cammu_c3_device(const machine_config &mconfig, const char *tag, cammu_device::cammu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, type, tag, owner, clock) , m_exception_func(*this) - , m_memory{0} { } diff --git a/src/mame/machine/cammu.h b/src/mame/machine/cammu.h index 1dbe48a7f02..83b44d4b120 100644 --- a/src/mame/machine/cammu.h +++ b/src/mame/machine/cammu.h @@ -239,7 +239,7 @@ protected: struct memory_t { - address_space *space; + address_space *space = nullptr; memory_access<32, 2, 0, ENDIANNESS_LITTLE>::cache cache; }; -- cgit v1.2.3