From 233cfa34e5d37468c6a19f50d8e2d52aae9c7866 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 27 Sep 2018 13:40:26 +0200 Subject: [PATCH 1/2] src: remove unused locale.h This commit removes the locale.h header as it does not look like it is used. --- src/node.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/node.cc b/src/node.cc index ca22288ca06839..d026c6ba304773 100644 --- a/src/node.cc +++ b/src/node.cc @@ -72,7 +72,6 @@ #include #include // _O_RDWR #include // PATH_MAX -#include #include #include #include From 399576ba3806458a30b89c00e96e41adf6e86b42 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 27 Sep 2018 14:02:15 +0200 Subject: [PATCH 2/2] src: remove unused using declarations --- src/node.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/node.cc b/src/node.cc index d026c6ba304773..986aa682443504 100644 --- a/src/node.cc +++ b/src/node.cc @@ -124,7 +124,6 @@ namespace node { using options_parser::kAllowedInEnvironment; using options_parser::kDisallowedInEnvironment; using v8::Array; -using v8::ArrayBuffer; using v8::Boolean; using v8::Context; using v8::DEFAULT; @@ -144,16 +143,13 @@ using v8::Maybe; using v8::MaybeLocal; using v8::Message; using v8::MicrotasksPolicy; -using v8::Name; using v8::NamedPropertyHandlerConfiguration; using v8::NewStringType; using v8::None; using v8::Nothing; using v8::Null; -using v8::Number; using v8::Object; using v8::ObjectTemplate; -using v8::Promise; using v8::PropertyAttribute; using v8::ReadOnly; using v8::Script;