Skip to content

Commit f28fdc9

Browse files
danbevBridgeAR
authored andcommitted
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: #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>
1 parent 10c2773 commit f28fdc9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/node_serdes.cc

-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@ void DeserializerContext::ReadUint64(const FunctionCallbackInfo<Value>& args) {
397397
uint32_t lo = static_cast<uint32_t>(value);
398398

399399
Isolate* isolate = ctx->env()->isolate();
400-
Local<Context> context = ctx->env()->context();
401400

402401
Local<Value> ret[] = {
403402
Integer::NewFromUnsigned(isolate, hi),

0 commit comments

Comments
 (0)