Silence warnings in misc files (gui, psp2, mfc, mouse)

This commit is contained in:
Zion Nimchuk 2017-11-01 23:30:34 -07:00 committed by Nekotekina
parent 3a9ae2df9e
commit c424652b43
4 changed files with 17 additions and 3 deletions

View file

@ -202,10 +202,12 @@ void cfg::encode(YAML::Emitter& out, const cfg::_base& rhs)
out << YAML::EndMap;
return;
}
default: LOG_ERROR(GENERAL, "Attempting to cfg encode an unimplemented type.");
default:
{
out << rhs.to_string();
return;
}
}
out << rhs.to_string();
}
void cfg::decode(const YAML::Node& data, cfg::_base& rhs)