removed unused variable;
This commit is contained in:
parent
1552cdc11a
commit
aa030950bb
1 changed files with 1 additions and 1 deletions
|
|
@ -470,7 +470,7 @@ namespace SimpleWeb {
|
|||
try {
|
||||
content_length = stoull(header_it->second);
|
||||
}
|
||||
catch(const std::exception &e) {
|
||||
catch(const std::exception &) {
|
||||
if(this->on_error)
|
||||
this->on_error(session->request, make_error_code::make_error_code(errc::protocol_error));
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue