summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-06-03 14:28:31 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-06-03 14:28:31 -0400
commit83e474aad4d930e5e3c79e80120ff936922b359e (patch)
tree2b07a97c77ee4eebf8ba4fd3ea16a01d2e6be3c7 /src/mame/drivers
parent167e11a9cf92a3aee31befbf1851942261b1dd43 (diff)
Fix clang build [-Werror,-Wunused-private-field] (nw)
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/piratesh.cpp3
-rw-r--r--src/mame/drivers/spc1500.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/piratesh.cpp b/src/mame/drivers/piratesh.cpp
index d6a4f7d804d..8414ab36c80 100644
--- a/src/mame/drivers/piratesh.cpp
+++ b/src/mame/drivers/piratesh.cpp
@@ -573,6 +573,9 @@ void piratesh_state::machine_start()
save_item(NAME(m_mw_irq_control));
save_item(NAME(m_sound_ctrl));
save_item(NAME(m_sound_nmi_clk));
+#else
+ (void)m_sound_ctrl;
+ (void)m_sound_nmi_clk;
#endif
}
diff --git a/src/mame/drivers/spc1500.cpp b/src/mame/drivers/spc1500.cpp
index 7fa1df7e553..ad67dfe7242 100644
--- a/src/mame/drivers/spc1500.cpp
+++ b/src/mame/drivers/spc1500.cpp
@@ -297,8 +297,7 @@ private:
uint8_t m_ipl;
uint8_t m_palet[3];
uint8_t m_paltbl[8];
- uint16_t m_page;
- uint8_t m_pcg_char, m_pcg_attr, m_char_change, m_pcg_char0;
+ uint8_t m_pcg_char, m_pcg_attr, m_char_change;
uint16_t m_pcg_offset[3];
int m_char_count;
attotime m_time;