Skip to content

Commit

Permalink
src: remove unnecessary writes in tls_wrap.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Aug 1, 2018
1 parent 61e3eb7 commit c134e75
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 c134e75

Please sign in to comment.