diff options
author | Cowering <cowering@users.noreply.github.com> | 2015-09-29 10:21:14 -0500 |
---|---|---|
committer | Cowering <cowering@users.noreply.github.com> | 2015-09-29 10:21:57 -0500 |
commit | e26c9fb3bf9884e26da13d71811817de70f40730 (patch) | |
tree | afed9305708069bb41563c4ef8e90cd4750367aa | |
parent | 5e0e2e07b7bd3f4d946255e6c66cccb1fd90f2d9 (diff) |
hush pedantic
-rw-r--r-- | src/devices/machine/i8271.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/i8271.c b/src/devices/machine/i8271.c index 53b7f8ce3bd..ab1daddc2b2 100644 --- a/src/devices/machine/i8271.c +++ b/src/devices/machine/i8271.c @@ -467,7 +467,7 @@ void i8271_device::live_run(attotime limit) case SCAN_SECTOR_DATA_BYTE: if(!scan_done) { - UINT8 data; + UINT8 data = 0; if(!get_input(&data)) { live_delay(IDLE); return; @@ -542,7 +542,7 @@ void i8271_device::live_run(attotime limit) cur_live.crc = 0xffff; live_write_raw(BIT(command[0], 2) ? 0xf56a : 0xf56f); } else if(cur_live.byte_counter < 7+sector_size) { - UINT8 data; + UINT8 data = 0; if(!get_input(&data)) { live_delay(IDLE); return; @@ -599,7 +599,7 @@ void i8271_device::live_run(attotime limit) cur_live.crc = 0xffff; live_write_raw(0xf57e); } else if(cur_live.byte_counter < 11) { - UINT8 data; + UINT8 data = 0; if(!get_input(&data)) { live_delay(IDLE); return; |