DolphinQt: fix -Wunused-but-set-variable warning

This commit is contained in:
Tillmann Karras 2020-07-24 16:48:54 +01:00
parent bf5b1092b2
commit 750cb1f830
1 changed files with 0 additions and 3 deletions

View File

@ -265,9 +265,6 @@ void ThreadWidget::Update()
const auto format_hex = [](u32 value) { const auto format_hex = [](u32 value) {
return QStringLiteral("%1").arg(value, 8, 16, QLatin1Char('0')); return QStringLiteral("%1").arg(value, 8, 16, QLatin1Char('0'));
}; };
const auto format_f64_as_u64 = [](double value) {
return QStringLiteral("%1").arg(Common::BitCast<u64>(value), 16, 16, QLatin1Char('0'));
};
const auto format_hex_from = [&format_hex](u32 addr) { const auto format_hex_from = [&format_hex](u32 addr) {
addr = PowerPC::HostIsRAMAddress(addr) ? PowerPC::HostRead_U32(addr) : 0; addr = PowerPC::HostIsRAMAddress(addr) ? PowerPC::HostRead_U32(addr) : 0;
return format_hex(addr); return format_hex(addr);