diff --git a/rpcs3/rpcs3qt/debugger_frame.cpp b/rpcs3/rpcs3qt/debugger_frame.cpp index 041484d5ea..af6fac44ca 100644 --- a/rpcs3/rpcs3qt/debugger_frame.cpp +++ b/rpcs3/rpcs3qt/debugger_frame.cpp @@ -1252,7 +1252,7 @@ void debugger_frame::PerformGoToRequest(const QString& text_argument) { if (auto cpu = get_cpu()) { - if (auto ppu = cpu->try_get()) + if (cpu->try_get()) { const vm::ptr func_ptr = vm::cast(static_cast(address)); diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index 8f755e152d..d4338c7741 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -2284,7 +2284,7 @@ void main_window::ShowOptionalGamePreparations(const QString& title, const QStri vlayout->addWidget(btn_box); dlg->setLayout(vlayout); - connect(btn_box, &QDialogButtonBox::accepted, this, [=, paths = std::move(bootable_paths)]() + connect(btn_box, &QDialogButtonBox::accepted, this, [=, this, paths = std::move(bootable_paths)]() { const bool create_desktop_shortcuts = desk_check->isChecked(); const bool create_app_shortcut = quick_check->isChecked();