removed unused variable;

This commit is contained in:
Addy 2017-12-21 14:49:57 -05:00
commit aa030950bb

View file

@ -470,7 +470,7 @@ namespace SimpleWeb {
try { try {
content_length = stoull(header_it->second); content_length = stoull(header_it->second);
} }
catch(const std::exception &e) { catch(const std::exception &) {
if(this->on_error) if(this->on_error)
this->on_error(session->request, make_error_code::make_error_code(errc::protocol_error)); this->on_error(session->request, make_error_code::make_error_code(errc::protocol_error));
return; return;