summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
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;