Skip to content

Commit 2fb80bb

Browse files
committed
ChildProcess, bugfix: remove unused variable.
1 parent 4ee293e commit 2fb80bb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fibjs/src/process/ChildProcess.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ result_t ChildProcess::fill_stdio(v8::Local<v8::Object> options)
7373
{
7474
result_t hr;
7575
Isolate* isolate = Isolate::current();
76-
int32_t len, i;
76+
int32_t i;
7777

7878
Variant stddefs[3];
7979
v8::Local<v8::Value> v;
@@ -270,7 +270,6 @@ result_t ChildProcess::spawn(exlib::string command, v8::Local<v8::Array> args, v
270270
{
271271
result_t hr;
272272
Isolate* isolate = Isolate::current();
273-
int32_t len, i;
274273

275274
hr = fill_stdio(options);
276275
if (hr < 0)

0 commit comments

Comments
 (0)