Skip to content

Commit

Permalink
src: remove unnecessary writes in tls_wrap.cc
Browse files Browse the repository at this point in the history
PR-URL: #21984
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
addaleax authored and rvagg committed Aug 15, 2018
1 parent b2ac7a7 commit d0b0ea9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/tls_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ TLSWrap::TLSWrap(Environment* env,
SSLWrap<TLSWrap>(env, sc, kind),
StreamBase(env),
sc_(sc),
enc_in_(nullptr),
enc_out_(nullptr),
write_size_(0),
started_(false),
established_(false),
Expand All @@ -86,8 +84,6 @@ TLSWrap::TLSWrap(Environment* env,


TLSWrap::~TLSWrap() {
enc_in_ = nullptr;
enc_out_ = nullptr;
sc_ = nullptr;
}

Expand Down

0 comments on commit d0b0ea9

Please sign in to comment.