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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Сковорода Никита Андреевич <[email protected]>
Reviewed-By: Brian White <[email protected]>
  • 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.