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
Daniel Bevenius 2017-05-18 08:29:43 +02:00
parent 7a15eefbba
commit 762b0358b3
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ void ClientHelloParser::ParseHeader(const uint8_t* data, size_t avail) {
return;
fail:
return End();
End();
}