Skip to content

Commit 5f64787

Browse files
bnoordhuisBridgeAR
authored andcommitted
src: fix -Wunused-but-set-variable warnings
PR-URL: #18205 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent ea7400c commit 5f64787

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/node_file.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,6 @@ static void InternalModuleStat(const FunctionCallbackInfo<Value>& args) {
516516

517517
static void Stat(const FunctionCallbackInfo<Value>& args) {
518518
Environment* env = Environment::GetCurrent(args);
519-
Local<Context> context = env->context();
520519

521520
CHECK_GE(args.Length(), 1);
522521

@@ -540,7 +539,6 @@ static void Stat(const FunctionCallbackInfo<Value>& args) {
540539

541540
static void LStat(const FunctionCallbackInfo<Value>& args) {
542541
Environment* env = Environment::GetCurrent(args);
543-
Local<Context> context = env->context();
544542

545543
CHECK_GE(args.Length(), 1);
546544

0 commit comments

Comments
 (0)