Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
danbev committed Nov 29, 2018
commit 4924d1aab10a8c109df22d720c889c80ad3ada62
1 change: 0 additions & 1 deletion src/node_serdes.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down