diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-11-29 07:50:03 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-12-01 07:55:10 +0300 |
commit | 9c01151e9355602765ee33cf5618b73d5745b25d (patch) | |
tree | 261dee33a041bcc19a4d60426dcf7c8471f5766c /src/node_serdes.cc | |
parent | 2b1dd6ce3e8c4412c9d38b5ab5944409d4b5ee6f (diff) |
src: remove unused context variable in node_serdes
Currently the following compiler warnings is generated:
../src/node_serdes.cc:400:18:
warning: unused variable 'context' [-Wunused-variable]
Local<Context> context = ctx->env()->context();
^
1 warning generated.
This commit removes the unused variable.
PR-URL: https://github.com/nodejs/node/pull/24713
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_serdes.cc')
-rw-r--r-- | src/node_serdes.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_serdes.cc b/src/node_serdes.cc index afeaebdeb29..631b8ed95b8 100644 --- a/src/node_serdes.cc +++ b/src/node_serdes.cc @@ -397,7 +397,6 @@ void DeserializerContext::ReadUint64(const FunctionCallbackInfo<Value>& args) { uint32_t lo = static_cast<uint32_t>(value); Isolate* isolate = ctx->env()->isolate(); - Local<Context> context = ctx->env()->context(); Local<Value> ret[] = { Integer::NewFromUnsigned(isolate, hi), |