diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index daeae5b1d9e4..efac5d1f88fe 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -1434,7 +1434,7 @@ FMT_FUNC auto vformat(string_view fmt, format_args args) -> std::string { namespace detail { #if !defined(_WIN32) || defined(FMT_WINDOWS_NO_WCHAR) FMT_FUNC auto write_console(int, string_view) -> bool { return false; } -FMT_FUNC auto write_console(std::FILE* f, string_view text) -> bool { return false; } +FMT_FUNC auto write_console(std::FILE*, string_view) -> bool { return false; } #else using dword = conditional_t; extern "C" __declspec(dllimport) int __stdcall WriteConsoleW( //