mirror of
https://github.com/fmtlib/fmt.git
synced 2025-02-28 16:11:28 +00:00
Remove a couple of unused argument names
This commit is contained in:
parent
55f5c9f21b
commit
db86e8d5d3
@ -583,7 +583,7 @@ FMT_MAKE_VALUE(pointer_type, std::nullptr_t, const void*)
|
||||
// formatting of "[const] volatile char *" which is printed as bool by
|
||||
// iostreams.
|
||||
template <typename T>
|
||||
void make_value(const T *p) {
|
||||
void make_value(const T *) {
|
||||
static_assert(!sizeof(T), "formatting of non-void pointers is disallowed");
|
||||
}
|
||||
|
||||
|
@ -904,7 +904,7 @@ inline Char *format_decimal(Char *buffer, UInt value, unsigned num_digits,
|
||||
|
||||
template <typename UInt, typename Iterator, typename ThousandsSep>
|
||||
inline Iterator format_decimal(
|
||||
Iterator out, UInt value, unsigned num_digits, ThousandsSep thousands_sep) {
|
||||
Iterator out, UInt value, unsigned num_digits, ThousandsSep) {
|
||||
// Buffer should be large enough to hold all digits (digits10 + 1) and null.
|
||||
char buffer[std::numeric_limits<UInt>::digits10 + 2];
|
||||
format_decimal(buffer, value, num_digits, no_thousands_sep());
|
||||
|
Loading…
x
Reference in New Issue
Block a user