Merge pull request #2466 from kevinbackhouse/readExiv2Config-unused-param
Silence unused parameter warning when EXV_ENABLE_INIH is undefined
This commit is contained in:
commit
d5afb08725
@ -80,7 +80,8 @@ std::string getExiv2ConfigPath() {
|
|||||||
return (currentPath / inifile).string();
|
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;
|
std::string result = def;
|
||||||
|
|
||||||
#ifdef EXV_ENABLE_INIH
|
#ifdef EXV_ENABLE_INIH
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user