From dabe8856ad45afb3c7a24effd1716d4924d32797 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Mon, 8 Dec 2025 18:06:24 +0100 Subject: [PATCH] CLEANUP: mworker/cli: remove useless variable The msg variable is declared and free but never used, this patch removes it. --- src/mworker.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mworker.c b/src/mworker.c index 1e975b81d..86d959e8f 100644 --- a/src/mworker.c +++ b/src/mworker.c @@ -864,8 +864,6 @@ static int cli_io_handler_show_proc(struct appctx *appctx) /* displays old processes */ if (old) { - char *msg = NULL; - chunk_appendf(&trash, "# old workers\n"); list_for_each_entry(child, &proc_list, list) { up = date.tv_sec - child->timestamp; @@ -884,7 +882,6 @@ static int cli_io_handler_show_proc(struct appctx *appctx) ha_free(&uptime); } } - free(msg); } if (applet_putchk(appctx, &trash) == -1) -- 2.47.3