1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-12-13 01:29:57 +00:00

Avoid compiler warning (variable uninitialized).

This commit is contained in:
Radosław Kujawa 2018-03-27 13:18:29 +02:00
parent e72871a5b6
commit 25e62f4be4

View File

@ -109,6 +109,8 @@ bus_write_1(bus_t *t, uint16_t addr, uint8_t val)
uint16_t off; uint16_t off;
device_t *d; device_t *d;
off = 0;
bus_access_device(t, addr, &d, &off); bus_access_device(t, addr, &d, &off);
if (t->access_debug) if (t->access_debug)