diff --git a/src/node_crypto.cc b/src/node_crypto.cc index d96b66b7db..68e78e5cfa 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -1813,7 +1813,6 @@ template void SSLWrap::LoadSession(const FunctionCallbackInfo& args) { Base* w; ASSIGN_OR_RETURN_UNWRAP(&w, args.Holder()); - Environment* env = w->ssl_env(); if (args.Length() >= 1 && Buffer::HasInstance(args[0])) { ssize_t slen = Buffer::Length(args[0]);