From 4924d1aab10a8c109df22d720c889c80ad3ada62 Mon Sep 17 00:00:00 2001
From: Daniel Bevenius <daniel.bevenius@gmail.com>
Date: Thu, 29 Nov 2018 05:50:03 +0100
Subject: [PATCH] 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.
---
 src/node_serdes.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/node_serdes.cc b/src/node_serdes.cc
index afeaebdeb29e1d..631b8ed95b81e0 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),