Skip to content

Commit

Permalink
src: remove unused variable in node_crypto
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cjihrig authored and italoacasas committed Feb 22, 2017
1 parent 5f94ff6 commit 7d47f27
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/node_crypto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1813,7 +1813,6 @@ template <class Base>
void SSLWrap<Base>::LoadSession(const FunctionCallbackInfo<Value>& 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]);
Expand Down

0 comments on commit 7d47f27

Please sign in to comment.