From 750cb1f83002d99beeac1164b7856dd4fb7b9e55 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Fri, 24 Jul 2020 16:48:54 +0100 Subject: [PATCH] DolphinQt: fix -Wunused-but-set-variable warning --- Source/Core/DolphinQt/Debugger/ThreadWidget.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp b/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp index 18bb7af3fb..89f880fc1a 100644 --- a/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp @@ -265,9 +265,6 @@ void ThreadWidget::Update() const auto format_hex = [](u32 value) { return QStringLiteral("%1").arg(value, 8, 16, QLatin1Char('0')); }; - const auto format_f64_as_u64 = [](double value) { - return QStringLiteral("%1").arg(Common::BitCast(value), 16, 16, QLatin1Char('0')); - }; const auto format_hex_from = [&format_hex](u32 addr) { addr = PowerPC::HostIsRAMAddress(addr) ? PowerPC::HostRead_U32(addr) : 0; return format_hex(addr);