From 9c01151e9355602765ee33cf5618b73d5745b25d Mon Sep 17 00:00:00 2001 From: Daniel Bevenius 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 = 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 Reviewed-By: Joyee Cheung Reviewed-By: Colin Ihrig Reviewed-By: Jon Moss Reviewed-By: Anna Henningsen Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- 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& args) { uint32_t lo = static_cast(value); Isolate* isolate = ctx->env()->isolate(); - Local context = ctx->env()->context(); Local ret[] = { Integer::NewFromUnsigned(isolate, hi),