mirror of https://github.com/nodejs/node.git
src: remove unnecessary return statement
I think the code would be a little clearer if the return statement was removed here since End() does not return any value and neither does ParseHeader. PR-URL: https://github.com/nodejs/node/pull/13094 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>pull/12925/head
parent
7a15eefbba
commit
762b0358b3
|
@ -119,7 +119,7 @@ void ClientHelloParser::ParseHeader(const uint8_t* data, size_t avail) {
|
|||
return;
|
||||
|
||||
fail:
|
||||
return End();
|
||||
End();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue