summaryrefslogtreecommitdiffstats
path: root/CAN-binder/libs/ini-config/ini-config.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-04-21 18:13:14 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-04-21 18:13:14 +0200
commit4f3b7570bb8e4c6943116026cf42da04830f7243 (patch)
treecedaefb578c4e5173fc940fe2e594c498eb5d184 /CAN-binder/libs/ini-config/ini-config.cpp
parentf0880c9212e3fb1c2abe8dbbcd376da1279901e6 (diff)
Avoid warning about unmanaged switch case in INI library
Change-Id: Ifdca1581dc5a086a884dbc2dcc17470e5983b4ac Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/libs/ini-config/ini-config.cpp')
-rw-r--r--CAN-binder/libs/ini-config/ini-config.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/CAN-binder/libs/ini-config/ini-config.cpp b/CAN-binder/libs/ini-config/ini-config.cpp
index b670e76b..631a0201 100644
--- a/CAN-binder/libs/ini-config/ini-config.cpp
+++ b/CAN-binder/libs/ini-config/ini-config.cpp
@@ -51,6 +51,8 @@ void ini_config::read_file(const std::string& filename)
config_[key] = (mr.size() >= 3 && mr[2].matched) ? mr[2].str() : "";
}
break;
+ case line_type::ignore:
+ break;
}
}
}