summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorarton <arton@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-22 15:18:09 +0000
committerarton <arton@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-22 15:18:09 +0000
commit858a66d1ac96bfb7c4705b580bf26b13b79bb7dc (patch)
treed73e41eee87bcb7832c2e4e68a5b2a8d32cf33ee /win32
parente6eeeb7ce2637b5fff244e6aeeb1ad9ba8dc84f3 (diff)
* win32/win32.c: fix r31152 (dup line)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 6c9da16c14..2e92665275 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -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;