Skip to content

Commit

Permalink
Fix clang build [-Werror,-Wunused-private-field] (nw)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrhacker committed Jun 3, 2020
1 parent 167e11a commit 83e474a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/mame/drivers/piratesh.cpp
Expand Up @@ -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
}

Expand Down
3 changes: 1 addition & 2 deletions src/mame/drivers/spc1500.cpp
Expand Up @@ -297,8 +297,7 @@ class spc1500_state : public driver_device
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;
Expand Down

0 comments on commit 83e474a

Please sign in to comment.