Remove a couple of unused argument names

This commit is contained in:
Lars Gullik Bjønnes
2018-02-15 17:32:54 +01:00
committed by Victor Zverovich
parent 55f5c9f21b
commit db86e8d5d3
2 changed files with 2 additions and 2 deletions

View File

@ -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 // formatting of "[const] volatile char *" which is printed as bool by
// iostreams. // iostreams.
template <typename T> 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"); static_assert(!sizeof(T), "formatting of non-void pointers is disallowed");
} }

View File

@ -904,7 +904,7 @@ inline Char *format_decimal(Char *buffer, UInt value, unsigned num_digits,
template <typename UInt, typename Iterator, typename ThousandsSep> template <typename UInt, typename Iterator, typename ThousandsSep>
inline Iterator format_decimal( 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. // Buffer should be large enough to hold all digits (digits10 + 1) and null.
char buffer[std::numeric_limits<UInt>::digits10 + 2]; char buffer[std::numeric_limits<UInt>::digits10 + 2];
format_decimal(buffer, value, num_digits, no_thousands_sep()); format_decimal(buffer, value, num_digits, no_thousands_sep());