From 45dbf3ce9f0afc8fc6c712832bdd6bc61e1251a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 5 Jul 2026 14:35:13 +0200 Subject: [PATCH] core: fix compiler warning on unused variable "size" when malloc_trim() is not available --- src/core/core-command.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/core-command.c b/src/core/core-command.c index 9372215cb..e2ad79b61 100644 --- a/src/core/core-command.c +++ b/src/core/core-command.c @@ -7118,7 +7118,9 @@ COMMAND_CALLBACK(set) COMMAND_CALLBACK(sys) { +#ifdef HAVE_MALLOC_TRIM long size; +#endif int num_processes; /* make C compiler happy */