1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* win32/win32.c: fix r31152 (dup line)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
arton 2011-03-22 15:18:09 +00:00
parent e6eeeb7ce2
commit 858a66d1ac

View file

@ -3569,7 +3569,6 @@ poll_child_status(struct ChildRecord *child, int *stat_loc)
goto error_exit;
}
pid = child->pid;
rb_pid_t pid = child->pid;
CloseChildHandle(child);
if (stat_loc) *stat_loc = exitcode << 8;
return pid;