Skip to content

Commit

Permalink
fix: supress unused varaible
Browse files Browse the repository at this point in the history
  • Loading branch information
SSARCandy committed Nov 25, 2024
1 parent 138ae81 commit f1c8173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ini/ini.h
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ inline T INIReader::Get(const std::string& section, const std::string& name,
T&& default_v) const {
try {
return Get<T>(section, name);
} catch (std::runtime_error& e) {
} catch (std::runtime_error&) {
return default_v;
}
}
Expand Down Expand Up @@ -456,7 +456,7 @@ inline std::vector<T> INIReader::GetVector(
const std::vector<T>& default_v) const {
try {
return GetVector<T>(section, name);
} catch (std::runtime_error& e) {
} catch (std::runtime_error&) {
return default_v;
};
}
Expand Down

0 comments on commit f1c8173

Please sign in to comment.