Skip to content

Commit

Permalink
add maybe_unused
Browse files Browse the repository at this point in the history
Signed-off-by: Rosen Penev <[email protected]>
  • Loading branch information
neheb committed Aug 8, 2023
1 parent 8361b92 commit 8588024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/convert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,7 @@ void moveXmpToIptc(XmpData& xmpData, IptcData& iptcData) {
converter.cnvFromXmp();
}

bool convertStringCharset(std::string& str, const char* from, const char* to) {
bool convertStringCharset([[maybe_unused]] std::string& str, const char* from, const char* to) {
if (0 == strcmp(from, to))
return true; // nothing to do
#if defined EXV_HAVE_ICONV
Expand Down

0 comments on commit 8588024

Please sign in to comment.