From dc2119a955256328619e033754d8d7b41e37ae9b Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Wed, 27 Feb 2019 11:14:58 -0800 Subject: [PATCH] src: fix more extra-semi warnings PR-URL: https://github.com/nodejs/node/pull/26340 Reviewed-By: Masashi Hirano Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater --- src/inspector_js_api.cc | 2 +- src/node_http2.h | 2 +- src/node_messaging.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/inspector_js_api.cc b/src/inspector_js_api.cc index 16116c9118fa96..58e7fb495c1f9f 100644 --- a/src/inspector_js_api.cc +++ b/src/inspector_js_api.cc @@ -320,4 +320,4 @@ void Initialize(Local target, Local unused, } // namespace node NODE_MODULE_CONTEXT_AWARE_INTERNAL(inspector, - node::inspector::Initialize); + node::inspector::Initialize) diff --git a/src/node_http2.h b/src/node_http2.h index fbfb9a434fa598..c65da807d0cee0 100644 --- a/src/node_http2.h +++ b/src/node_http2.h @@ -35,7 +35,7 @@ using performance::PerformanceEntry; #define DEFAULT_MAX_SETTINGS 10 // Default maximum total memory cap for Http2Session. -#define DEFAULT_MAX_SESSION_MEMORY 1e7; +#define DEFAULT_MAX_SESSION_MEMORY 1e7 // These are the standard HTTP/2 defaults as specified by the RFC #define DEFAULT_SETTINGS_HEADER_TABLE_SIZE 4096 diff --git a/src/node_messaging.cc b/src/node_messaging.cc index d727f27063376d..345c496ecfbebe 100644 --- a/src/node_messaging.cc +++ b/src/node_messaging.cc @@ -63,7 +63,7 @@ class DeserializerDelegate : public ValueDeserializer::Delegate { return MaybeLocal(); CHECK_LE(id, message_ports_.size()); return message_ports_[id]->object(isolate); - }; + } MaybeLocal GetSharedArrayBufferFromId( Isolate* isolate, uint32_t clone_id) override {