another warning

This commit is contained in:
Howard Su 2020-10-22 09:01:57 +08:00
parent 72611b5fa7
commit 406f18bf11

View File

@ -68,7 +68,7 @@ void VFOManager::deleteVFO(VFOManager::VFO* vfo) {
std::string name = ""; std::string name = "";
for (auto const& [_name, _vfo] : vfos) { for (auto const& [_name, _vfo] : vfos) {
if (_vfo == vfo) { if (_vfo == vfo) {
name == _name; name = _name;
break; break;
} }
} }