diff options
author | 2020-10-21 11:04:18 -0400 | |
---|---|---|
committer | 2020-10-21 11:04:18 -0400 | |
commit | 085686552d793fe4ab2c31b103df83b812dc89e3 (patch) | |
tree | 4124e003db316d1a8d8c448117d0a7be025b570f | |
parent | a43690ce09760518f426d1ba2ad1957bd4210c4f (diff) |
cammu: Attempted fix for build problem on more recent clang versions
-rw-r--r-- | src/mame/machine/cammu.cpp | 1 | ||||
-rw-r--r-- | src/mame/machine/cammu.h | 2 |
2 files changed, 1 insertions, 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; }; |