From 0b04c82e2b3e86068021fea30c814e78671681b9 Mon Sep 17 00:00:00 2001 From: Damian Jarek Date: Sun, 7 Jul 2019 19:36:21 +0200 Subject: [PATCH] Fix unused variable warning in `multi_buffer` Signed-off-by: Damian Jarek --- CHANGELOG.md | 1 + include/boost/beast/core/impl/multi_buffer.hpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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_)