diff options
author | 2015-12-26 13:54:32 +0100 | |
---|---|---|
committer | 2015-12-26 13:54:32 +0100 | |
commit | 9f998d0afb69f4286f05e46efe27806b6aba32af (patch) | |
tree | 7a126081d7eb971c4cc9f8fa8952ad04a30ab231 /src/devices/cpu/lc8670 | |
parent | a546ea128238feaa616451ed7b7f4fe389dd1460 (diff) |
cleanup (nw)
Diffstat (limited to 'src/devices/cpu/lc8670')
-rw-r--r-- | src/devices/cpu/lc8670/lc8670.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/lc8670/lc8670.cpp b/src/devices/cpu/lc8670/lc8670.cpp index be38f0b3128..a397f8505bb 100644 --- a/src/devices/cpu/lc8670/lc8670.cpp +++ b/src/devices/cpu/lc8670/lc8670.cpp @@ -1135,7 +1135,7 @@ inline UINT8 lc8670_cpu_device::pop() inline UINT16 lc8670_cpu_device::get_addr() { int mode = m_op & 0x0f; - UINT16 addr = 0; + UINT16 addr; if (mode > 0x01 && mode <= 0x03) addr = GET_D9; @@ -1150,7 +1150,7 @@ inline UINT16 lc8670_cpu_device::get_addr() inline UINT8 lc8670_cpu_device::get_data() { int mode = m_op & 0x0f; - UINT8 data = 0; + UINT8 data; if (mode == 0x01) data = GET_I8; @@ -1217,7 +1217,7 @@ inline void lc8670_cpu_device::set_irq_flag(int source) int lc8670_cpu_device::decode_op(UINT8 op) { - int idx = 0; + int idx; switch (op & 0x0f) { case 0: case 1: |