Remove unused lambda

This commit is contained in:
Megamouse 2021-09-22 22:42:40 +02:00 committed by kd-11
parent fff0c96bf3
commit 4323ca4a01
2 changed files with 1 additions and 6 deletions

View file

@ -1500,7 +1500,7 @@ void ppu_trap(ppu_thread& ppu, u64 addr)
ppu.cia += add; // Skip instructions, hope for valid code (interprter may be invoked temporarily)
}
static void ppu_error(ppu_thread& ppu, u64 addr, u32 op)
static void ppu_error(ppu_thread& ppu, u64 addr, u32 /*op*/)
{
ppu.cia = ::narrow<u32>(addr);
ppu_recompiler_fallback(ppu);

View file

@ -267,11 +267,6 @@ void patch_creator_dialog::move_instructions(int src_row, int rows_to_move, int
return patch_type::invalid;
};
const auto set_row_type_widget = [this](int i, patch_type type) -> void
{
ui->instructionTable->setCellWidget(i, patch_column::type, create_patch_type_bombo_box(type));
};
for (int i = 0; i < rows_to_move; i++)
{
moving_types[i] = get_row_type(src_row + i);