Skip to content

Commit 7d47f27

Browse files
cjihrigitaloacasas
authored andcommitted
src: remove unused variable in node_crypto
env was unused since the ref'd commit Ref: e34ee1d PR-URL: #11361 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
1 parent 5f94ff6 commit 7d47f27

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/node_crypto.cc

-1
Original file line numberDiff line numberDiff line change
@@ -1813,7 +1813,6 @@ template <class Base>
18131813
void SSLWrap<Base>::LoadSession(const FunctionCallbackInfo<Value>& args) {
18141814
Base* w;
18151815
ASSIGN_OR_RETURN_UNWRAP(&w, args.Holder());
1816-
Environment* env = w->ssl_env();
18171816

18181817
if (args.Length() >= 1 && Buffer::HasInstance(args[0])) {
18191818
ssize_t slen = Buffer::Length(args[0]);

0 commit comments

Comments
 (0)