@@ -1056,7 +1056,7 @@ static void Symlink(const FunctionCallbackInfo<Value>& args) {
10561056 Environment* env = Environment::GetCurrent (args);
10571057 Isolate* isolate = env->isolate ();
10581058
1059- int argc = args.Length ();
1059+ const int argc = args.Length ();
10601060 CHECK_GE (argc, 4 );
10611061
10621062 BufferValue target (isolate, args[0 ]);
@@ -1085,7 +1085,7 @@ static void Link(const FunctionCallbackInfo<Value>& args) {
10851085 Environment* env = Environment::GetCurrent (args);
10861086 Isolate* isolate = env->isolate ();
10871087
1088- int argc = args.Length ();
1088+ const int argc = args.Length ();
10891089 CHECK_GE (argc, 3 );
10901090
10911091 BufferValue src (isolate, args[0 ]);
@@ -1112,7 +1112,7 @@ static void ReadLink(const FunctionCallbackInfo<Value>& args) {
11121112 Environment* env = Environment::GetCurrent (args);
11131113 Isolate* isolate = env->isolate ();
11141114
1115- int argc = args.Length ();
1115+ const int argc = args.Length ();
11161116 CHECK_GE (argc, 3 );
11171117
11181118 BufferValue path (isolate, args[0 ]);
@@ -1155,7 +1155,7 @@ static void Rename(const FunctionCallbackInfo<Value>& args) {
11551155 Environment* env = Environment::GetCurrent (args);
11561156 Isolate* isolate = env->isolate ();
11571157
1158- int argc = args.Length ();
1158+ const int argc = args.Length ();
11591159 CHECK_GE (argc, 3 );
11601160
11611161 BufferValue old_path (isolate, args[0 ]);
0 commit comments