mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
DolphinQt: fix -Wunused-but-set-variable warning
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user