diff --git a/libstdc++-v3/include/experimental/internet b/libstdc++-v3/include/experimental/internet index bd9a05f12aa9ae0e75197b7028c99eb7c96119f6..173913a8cec5246e5b3bc94312241ef983fd426e 100644 --- a/libstdc++-v3/include/experimental/internet +++ b/libstdc++-v3/include/experimental/internet @@ -252,7 +252,7 @@ namespace ip __string_with<_Allocator> to_string(const _Allocator& __a = _Allocator()) const { - auto __write = [__addr = to_uint()](char* __p, size_t __n) { + auto __write = [__addr = to_uint()](char* __p, size_t) { auto __to_chars = [](char* __p, uint8_t __v) { unsigned __n = __v >= 100u ? 3 : __v >= 10u ? 2 : 1; std::__detail::__to_chars_10_impl(__p, __n, __v);