From 406f18bf11f5dd8c23a4ba0e2606dafb1c89d44e Mon Sep 17 00:00:00 2001 From: Howard Su Date: Thu, 22 Oct 2020 09:01:57 +0800 Subject: [PATCH] another warning --- core/src/signal_path/vfo_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/signal_path/vfo_manager.cpp b/core/src/signal_path/vfo_manager.cpp index e049b4b8..8579ffdf 100644 --- a/core/src/signal_path/vfo_manager.cpp +++ b/core/src/signal_path/vfo_manager.cpp @@ -68,7 +68,7 @@ void VFOManager::deleteVFO(VFOManager::VFO* vfo) { std::string name = ""; for (auto const& [_name, _vfo] : vfos) { if (_vfo == vfo) { - name == _name; + name = _name; break; } }