From e26c9fb3bf9884e26da13d71811817de70f40730 Mon Sep 17 00:00:00 2001 From: Cowering Date: Tue, 29 Sep 2015 10:21:14 -0500 Subject: [PATCH] hush pedantic --- src/devices/machine/i8271.c | 6 +++--- 1 file 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;