From f87405f21d6843df58f5b6013f52854dc74d6e23 Mon Sep 17 00:00:00 2001 From: Tiago Date: Sun, 30 Aug 2026 08:37:51 -0700 Subject: [PATCH] Suppress unused parameter warnings with FMT_USE_LOCALE=0 (#4903) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- include/fmt/xchar.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/fmt/xchar.h b/include/fmt/xchar.h index 69e47db2..b6d57d60 100644 --- a/include/fmt/xchar.h +++ b/include/fmt/xchar.h @@ -53,6 +53,7 @@ inline auto write_loc(basic_appender out, loc_value value, if (!grouping.empty()) separator = std::wstring(1, numpunct.thousands_sep()); return value.visit(loc_writer{out, specs, separator, grouping, {}}); #endif + ignore_unused(out, value, specs, loc); return false; }