diff options
author | Robbbert <Robbbert@users.noreply.github.com> | 2022-03-25 20:29:17 +1100 |
---|---|---|
committer | Robbbert <Robbbert@users.noreply.github.com> | 2022-03-25 20:29:17 +1100 |
commit | a944f7ffdf914e22681ef25aaf882f23015e2262 (patch) | |
tree | 62085dbaa7cff0a411e19ba3ad3974707b941a50 /src/mame/drivers/fccpu30.cpp | |
parent | ebb3a4f142373b1cfbce1f701585d83a0d2e5ec4 (diff) |
init vars for coverity (drivers/f,g)
Diffstat (limited to 'src/mame/drivers/fccpu30.cpp')
-rw-r--r-- | src/mame/drivers/fccpu30.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/fccpu30.cpp b/src/mame/drivers/fccpu30.cpp index acd9af219a0..29183b9c882 100644 --- a/src/mame/drivers/fccpu30.cpp +++ b/src/mame/drivers/fccpu30.cpp @@ -282,9 +282,9 @@ private: /* Interrupt support */ void cpu_space_map(address_map &map); DECLARE_WRITE_LINE_MEMBER(fga_irq_callback); - uint8_t fga_irq_state; - // int fga_irq_vector; - int fga_irq_level; + uint8_t fga_irq_state = 0; + // int fga_irq_vector = 0; + int fga_irq_level = 0; /* Rotary switch PIT input */ uint8_t rotary_rd(); @@ -324,8 +324,8 @@ private: void update_irq_to_maincpu(); // Pointer to System ROMs needed by bootvect_r and masking RAM buffer for post reset accesses - uint32_t *m_sysrom; - uint32_t m_sysram[2]; + uint32_t *m_sysrom = nullptr; + uint32_t m_sysram[2]{}; uint8_t m_board_id; }; |