src: remove unnecessary writes in tls_wrap.cc

PR-URL: https://github.com/nodejs/node/pull/21984
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Anna Henningsen authored and Rod Vagg committed 2018-08-15 20:23:17 +10:00
1 parent b2ac7a750f
commit d0b0ea971a
1 file changed
-4
-4
View File
@@ -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),
@@ -86,8 +84,6 @@ TLSWrap::TLSWrap(Environment* env,
TLSWrap::~TLSWrap() {
enc_in_ = nullptr;
enc_out_ = nullptr;
sc_ = nullptr;
}