summaryrefslogtreecommitdiff
path: root/src/config/config.cpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-12-17 13:37:57 +0100
committerFlorent Le Coz <louiz@louiz.org>2014-12-17 13:37:57 +0100
commit720e31a5113c25e48d7754bb812ab84c6c31d1d9 (patch)
tree5a697d40c8df6c71d37168e401a058b94f0b20cf /src/config/config.cpp
parent0ab5ecea133cef5a009bc34ba42c4eaacde6a7dd (diff)
downloadbiboumi-720e31a5113c25e48d7754bb812ab84c6c31d1d9.tar.gz
biboumi-720e31a5113c25e48d7754bb812ab84c6c31d1d9.tar.bz2
biboumi-720e31a5113c25e48d7754bb812ab84c6c31d1d9.tar.xz
biboumi-720e31a5113c25e48d7754bb812ab84c6c31d1d9.zip
Fix a few issues reported by static analyzers
Diffstat (limited to 'src/config/config.cpp')
-rw-r--r--src/config/config.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/config/config.cpp b/src/config/config.cpp
index e2e027b..b870339 100644
--- a/src/config/config.cpp
+++ b/src/config/config.cpp
@@ -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();