Skip to content

Commit 5f64787

Browse files
bnoordhuisBridgeAR
authored andcommitted
src: fix -Wunused-but-set-variable warnings
PR-URL: #18205 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent ea7400c commit 5f64787

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

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)