From 4f3b7570bb8e4c6943116026cf42da04830f7243 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 21 Apr 2017 18:13:14 +0200 Subject: Avoid warning about unmanaged switch case in INI library Change-Id: Ifdca1581dc5a086a884dbc2dcc17470e5983b4ac Signed-off-by: Romain Forlot --- CAN-binder/libs/ini-config/ini-config.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CAN-binder/libs') diff --git a/CAN-binder/libs/ini-config/ini-config.cpp b/CAN-binder/libs/ini-config/ini-config.cpp index b670e76..631a020 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; } } } -- cgit 1.2.3-korg