Skip to content

Commit f1c8173

Browse files
committed
fix: supress unused varaible
1 parent 138ae81 commit f1c8173

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ini/ini.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ inline T INIReader::Get(const std::string& section, const std::string& name,
398398
T&& default_v) const {
399399
try {
400400
return Get<T>(section, name);
401-
} catch (std::runtime_error& e) {
401+
} catch (std::runtime_error&) {
402402
return default_v;
403403
}
404404
}
@@ -456,7 +456,7 @@ inline std::vector<T> INIReader::GetVector(
456456
const std::vector<T>& default_v) const {
457457
try {
458458
return GetVector<T>(section, name);
459-
} catch (std::runtime_error& e) {
459+
} catch (std::runtime_error&) {
460460
return default_v;
461461
};
462462
}

0 commit comments

Comments
 (0)