From 5f6478759b6bd25c927a1ceb53e78dc2db61dec6 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 17 Jan 2018 15:32:47 +0100 Subject: [PATCH] src: fix -Wunused-but-set-variable warnings PR-URL: https://github.com/nodejs/node/pull/18205 Reviewed-By: Anatoli Papirovski Reviewed-By: Evan Lucas Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: James M Snell Reviewed-By: Anna Henningsen Reviewed-By: Michael Dawson Reviewed-By: Ruben Bridgewater --- src/node_file.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/node_file.cc b/src/node_file.cc index c8cdc7959153f5..30bc4e1f380d63 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -516,7 +516,6 @@ static void InternalModuleStat(const FunctionCallbackInfo& args) { static void Stat(const FunctionCallbackInfo& args) { Environment* env = Environment::GetCurrent(args); - Local context = env->context(); CHECK_GE(args.Length(), 1); @@ -540,7 +539,6 @@ static void Stat(const FunctionCallbackInfo& args) { static void LStat(const FunctionCallbackInfo& args) { Environment* env = Environment::GetCurrent(args); - Local context = env->context(); CHECK_GE(args.Length(), 1);