diff options
| author | 2025-07-15 10:42:58 +0200 | |
|---|---|---|
| committer | 2025-07-15 10:42:58 +0200 | |
| commit | 5c0faa7dfd06f6cd4bae2e662ef49809670e3f1d (patch) | |
| tree | db5c7b1739b0e1b161656beeb7ab8f422dedf924 | |
| parent | 6f059ac89ce0bcf559bbe4d87f00af4eab27ad86 (diff) | |
h89bus: prevent gcc11 uninitialized variable compile warning
| -rw-r--r-- | src/devices/bus/heathzenith/h89/h89bus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/heathzenith/h89/h89bus.cpp b/src/devices/bus/heathzenith/h89/h89bus.cpp index 0e26200e768..6886c85679b 100644 --- a/src/devices/bus/heathzenith/h89/h89bus.cpp +++ b/src/devices/bus/heathzenith/h89/h89bus.cpp @@ -171,7 +171,7 @@ h89bus::addr_ranges device_heath_io_decoder_interface::scan_io_decoder_rom(u8 se { h89bus::addr_ranges ranges; bool found = false; - u8 first, last; + u8 first = 0, last = 0; for (int i = 0; i < 256; i++) { |
