Fix a few issues reported by static analyzers

This commit is contained in:
Florent Le Coz
2014-12-17 13:37:57 +01:00
parent 0ab5ecea13
commit 720e31a511
14 changed files with 11 additions and 28 deletions
-7
View File
@@ -28,13 +28,6 @@ int Config::get_int(const std::string& option, const int& def)
return def;
}
void Config::set_int(const std::string& option, const int& value, bool save)
{
std::ostringstream os;
os << value;
Config::set(option, os.str(), save);
}
void Config::set(const std::string& option, const std::string& value, bool save)
{
Config* self = Config::instance().get();