From b55a0a564af69d59ff9dd377cbcf27cdfa21cb44 Mon Sep 17 00:00:00 2001 From: Kevin Backhouse Date: Tue, 17 Jan 2023 08:51:12 +0000 Subject: [PATCH] Silence unused parameter warning when EXV_ENABLE_INIH is undefined. --- src/makernote_int.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/makernote_int.cpp b/src/makernote_int.cpp index c708a39a..00064c2c 100644 --- a/src/makernote_int.cpp +++ b/src/makernote_int.cpp @@ -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