Fix missing variable

It seems like no one has tried to compile on a platform without
`setsid` for almost a quarter of a century.
This commit is contained in:
Nobuyoshi Nakada 2024-04-07 21:16:26 +09:00
parent c4dadfbd47
commit cccffeff2f
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -5258,7 +5258,7 @@ static rb_pid_t
ruby_setsid(void)
{
rb_pid_t pid;
int ret;
int ret, fd;
pid = getpid();
#if defined(SETPGRP_VOID)