From cccffeff2f2de0b5f655aaa04d935f2eee4b0cd2 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 7 Apr 2024 21:16:26 +0900 Subject: [PATCH] Fix missing variable It seems like no one has tried to compile on a platform without `setsid` for almost a quarter of a century. --- process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process.c b/process.c index 11d5fc999c..b1f9931f06 100644 --- a/process.c +++ b/process.c @@ -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)