Skip to content
Permalink
Browse files

src: fix compiler warnings

The warnings in question are:

../src/node.cc:844:13: warning:
unused function 'DebugProcess' [-Wunused-function]
static void DebugProcess(const FunctionCallbackInfo<Value>& args);
            ^
../src/node.cc:845:13: warning:
unused function 'DebugEnd' [-Wunused-function]
static void DebugEnd(const FunctionCallbackInfo<Value>& args);

PR-URL: #25165
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>

Backport-PR-URL: #25496
  • Loading branch information...
cjihrig authored and addaleax committed Dec 21, 2018
1 parent dde7152 commit f8ba4880abb5786a51e6f757857b12bcec149d3f
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/node.cc
@@ -852,9 +852,6 @@ static Local<Object> GetFeatures(Environment* env) {
return scope.Escape(obj);
}

static void DebugProcess(const FunctionCallbackInfo<Value>& args);
static void DebugEnd(const FunctionCallbackInfo<Value>& args);

void SetupProcessObject(Environment* env,
const std::vector<std::string>& args,
const std::vector<std::string>& exec_args) {

0 comments on commit f8ba488

Please sign in to comment.
You can’t perform that action at this time.