Fix unused variable warnings

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:15:28 -07:00
1 parent 58c976ea73
commit 8f4e7fd0a0
25 files changed
+54 -51

No files matched your search

+2 -2
View File
@@ -230,7 +230,7 @@ template<class Allocator>
template<class String>
void
basic_fields<Allocator>::reader::
prepare(String& s, basic_fields const& f,
prepare(String& s, basic_fields const&,
unsigned version, verb v)
{
if(v == verb::unknown)
@@ -271,7 +271,7 @@ template<class Allocator>
template<class String>
void
basic_fields<Allocator>::reader::
prepare(String& s,basic_fields const& f,
prepare(String& s, basic_fields const&,
unsigned version, unsigned code)
{
if(version == 11)
+1 -1
View File
@@ -318,7 +318,7 @@ class read_msg_op
message_type& m;
parser_type p;
data(Handler& handler, Stream& s_,
data(Handler&, Stream& s_,
DynamicBuffer& b_, message_type& m_)
: s(s_)
, b(b_)
+1 -1
View File
@@ -358,7 +358,7 @@ class write_msg_op
serializer<isRequest,
Body, Fields, no_chunk_decorator> sr;
data(Handler& h, Stream& s_, message<
data(Handler&, Stream& s_, message<
isRequest, Body, Fields>& m_)
: s(s_)
, sr(m_, no_chunk_decorator{})