Merge pull request #2466 from kevinbackhouse/readExiv2Config-unused-param

Silence unused parameter warning when EXV_ENABLE_INIH is undefined
main
Kevin Backhouse 2 years ago committed by GitHub
commit d5afb08725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -80,7 +80,8 @@ std::string getExiv2ConfigPath() {
return (currentPath / inifile).string();
}
std::string readExiv2Config(const std::string& section, const std::string& value, const std::string& def) {
std::string readExiv2Config([[maybe_unused]] const std::string& section, [[maybe_unused]] const std::string& value,
const std::string& def) {
std::string result = def;
#ifdef EXV_ENABLE_INIH

Loading…
Cancel
Save