summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2022-08-23 12:04:46 +0200
committer hap <happppp@users.noreply.github.com>2022-08-23 12:04:58 +0200
commit8d8785d7bf654f4bafb31260a02aaf7108c36de9 (patch)
tree3bdf57e89a640cf3ffce6bca2482a47f3bdcf883 /src/emu/debug
parent3de37de3588bb0505c6c8b373e9ae09adc604e5d (diff)
misc: remove unused variables that may give compiler warning
Diffstat (limited to 'src/emu/debug')
-rw-r--r--src/emu/debug/debugbuf.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/emu/debug/debugbuf.cpp b/src/emu/debug/debugbuf.cpp
index 85ec19d5fb9..93bfcba891b 100644
--- a/src/emu/debug/debugbuf.cpp
+++ b/src/emu/debug/debugbuf.cpp
@@ -220,14 +220,12 @@ void debug_disasm_buffer::debug_data_buffer::setup_methods()
m_do_fill = [this](offs_t lstart, offs_t lend) {
auto dis = m_space->device().machine().disable_side_effects();
u8 *dest = get_ptr<u8>(lstart);
- u32 steps = 0;
for(offs_t lpc = lstart; lpc != lend; lpc = (lpc + 1) & m_pc_mask) {
offs_t tpc = m_intf.pc_linear_to_real(lpc);
if (m_space->device().memory().translate(m_space->spacenum(), TRANSLATE_FETCH_DEBUG, tpc))
*dest++ = m_space->read_byte(tpc);
else
*dest++ = 0;
- steps++;
}
};
break;