diff --git a/src/node_crypto.h b/src/node_crypto.h index d9105fd11a5721..4921ed36e30d11 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -565,7 +565,6 @@ class SignBase : public BaseObject { class Sign : public SignBase { public: - static void Initialize(Environment* env, v8::Local target); Error SignInit(const char* sign_type); diff --git a/src/node_zlib.cc b/src/node_zlib.cc index 15f58843983c8f..3bdeee4e63923e 100644 --- a/src/node_zlib.cc +++ b/src/node_zlib.cc @@ -50,7 +50,6 @@ void InitZlib(v8::Local target); */ class ZCtx : public AsyncWrap { public: - ZCtx(Environment* env, Local wrap, node_zlib_mode mode) : AsyncWrap(env, wrap, AsyncWrap::PROVIDER_ZLIB), chunk_size_(0), diff --git a/src/util.h b/src/util.h index c71d115e0d0618..8254bbe9713871 100644 --- a/src/util.h +++ b/src/util.h @@ -267,6 +267,7 @@ class MaybeStackBuffer { if (buf_ != buf_st_) free(buf_); } + private: size_t length_; T* buf_;