summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/lc8670/lc8670.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/lc8670/lc8670.cpp')
-rw-r--r--src/devices/cpu/lc8670/lc8670.cpp6
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: