diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b454de3..549ea2c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Version 264: * Fix unused variable warnings in tests * Fix missing initializer warning in `basic_fields` * Remove unused functions in `impl/static_string.hpp` +* Fix unused variable warning in `multi_buffer` -------------------------------------------------------------------------------- diff --git a/include/boost/beast/core/impl/multi_buffer.hpp b/include/boost/beast/core/impl/multi_buffer.hpp index e31a8a36..29a10fa1 100644 --- a/include/boost/beast/core/impl/multi_buffer.hpp +++ b/include/boost/beast/core/impl/multi_buffer.hpp @@ -956,7 +956,6 @@ consume(size_type n) noexcept { if(list_.empty()) return; - auto a = rebind_type{this->get()}; for(;;) { if(list_.begin() != out_)