Suppress unused parameter warnings with FMT_USE_LOCALE=0 (#4903)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Tiago 2026-08-30 08:37:51 -07:00 committed by GitHub
parent fa9590f63f
commit f87405f21d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,6 +53,7 @@ inline auto write_loc(basic_appender<wchar_t> out, loc_value value,
if (!grouping.empty()) separator = std::wstring(1, numpunct.thousands_sep());
return value.visit(loc_writer<wchar_t>{out, specs, separator, grouping, {}});
#endif
ignore_unused(out, value, specs, loc);
return false;
}