diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2016-06-28 21:21:21 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2016-06-28 21:21:21 +0200 |
commit | 0daffdf3fd9a505234c6bc7fed3d3118ff3331e4 (patch) | |
tree | b5266cfa7cf6888dadf4f94063fee5a3ed4e1f39 | |
parent | 2f2002a75c06e1302e2b711c5516149ccd12cc7d (diff) | |
download | node-new-0daffdf3fd9a505234c6bc7fed3d3118ff3331e4.tar.gz |
src: fix whitespace/blank_line cpplint warnings
PR-URL: https://github.com/nodejs/node/pull/7462
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
-rw-r--r-- | src/node_crypto.h | 1 | ||||
-rw-r--r-- | src/node_watchdog.h | 1 | ||||
-rw-r--r-- | src/node_zlib.cc | 1 | ||||
-rw-r--r-- | src/util.h | 1 |
4 files changed, 2 insertions, 2 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h index 360024be88..e0d01887ac 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -577,7 +577,6 @@ class SignBase : public BaseObject { class Sign : public SignBase { public: - static void Initialize(Environment* env, v8::Local<v8::Object> target); Error SignInit(const char* sign_type); diff --git a/src/node_watchdog.h b/src/node_watchdog.h index 77c2d53534..56d5af322b 100644 --- a/src/node_watchdog.h +++ b/src/node_watchdog.h @@ -64,6 +64,7 @@ class SigintWatchdogHelper { int Start(); bool Stop(); + private: SigintWatchdogHelper(); ~SigintWatchdogHelper(); diff --git a/src/node_zlib.cc b/src/node_zlib.cc index a6fbf06389..7ce4a1e361 100644 --- a/src/node_zlib.cc +++ b/src/node_zlib.cc @@ -52,7 +52,6 @@ void InitZlib(v8::Local<v8::Object> target); */ class ZCtx : public AsyncWrap { public: - ZCtx(Environment* env, Local<Object> 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 47c1a4999b..dd2da89e4e 100644 --- a/src/util.h +++ b/src/util.h @@ -286,6 +286,7 @@ class MaybeStackBuffer { if (buf_ != buf_st_) free(buf_); } + private: size_t length_; T* buf_; |