Fix some issues found by cppcheck

This commit is contained in:
heckflosse
2018-11-22 18:40:09 +01:00
parent b7c04d3b08
commit 190772af5e
11 changed files with 20 additions and 31 deletions

View File

@@ -5081,8 +5081,6 @@ int ProcParams::load(const Glib::ustring& fname, ParamsEdited* pedited)
}
if (keyFile.has_group("Exif")) {
std::vector<Glib::ustring> keys = keyFile.get_keys("Exif");
for (const auto& key : keyFile.get_keys("Exif")) {
exif[key] = keyFile.get_string("Exif", key);