Skip to content

Commit

Permalink
src: remove unnecessary return statement
Browse files Browse the repository at this point in the history
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 23, 2017
1 parent 94eca79 commit 57b9b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_crypto_clienthello.cc
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void ClientHelloParser::ParseHeader(const uint8_t* data, size_t avail) {
return;

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


Expand Down

0 comments on commit 57b9b9d

Please sign in to comment.