Skip to content

Commit 57b9b9d

Browse files
danbevjasnell
authored andcommitted
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 <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected] Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]>
1 parent 94eca79 commit 57b9b9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_crypto_clienthello.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ void ClientHelloParser::ParseHeader(const uint8_t* data, size_t avail) {
119119
return;
120120

121121
fail:
122-
return End();
122+
End();
123123
}
124124

125125

0 commit comments

Comments
 (0)