Skip to content
Permalink
Browse files

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: #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>
  • Loading branch information...
danbev authored and jasnell committed May 18, 2017
1 parent 94eca79 commit 57b9b9d7d6a7c7b1efa9d7ef6385ad5139ec2581
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/node_crypto_clienthello.cc
@@ -119,7 +119,7 @@ void ClientHelloParser::ParseHeader(const uint8_t* data, size_t avail) {
return;

fail:
return End();
End();
}


0 comments on commit 57b9b9d

Please sign in to comment.
You can’t perform that action at this time.