From e240e6f01a36929543817f845300e6ea36d938ed Mon Sep 17 00:00:00 2001 From: Danijel Tasov <51400+datamuc@users.noreply.github.com> Date: Fri, 29 May 2026 08:04:16 +0200 Subject: [PATCH] new compiler complained about unused variable --- src/worker/worker.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/worker/worker.c b/src/worker/worker.c index c31983f3..400ed24c 100644 --- a/src/worker/worker.c +++ b/src/worker/worker.c @@ -436,7 +436,6 @@ static void sigchld_handler(int sig) static void reap_jobs(void) { - int reaped = 0; do { int pid, status; struct rusage ru; @@ -451,7 +450,6 @@ static void reap_jobs(void) reapable--; cp->ret = status; memcpy(&cp->ei->rusage, &ru, sizeof(ru)); - reaped++; if (cp->ei->state != ESTALE) { /* We leave any grandchild processes alive, until * the timeout for this job has expired (at which point they