From ecd76e5b5bf872dc978ccb2495dcdb9871e57dde Mon Sep 17 00:00:00 2001 From: Jerzy Jamroz Date: Thu, 6 Feb 2025 12:38:24 +0100 Subject: [PATCH] fix: Portability update. --- modules/libcom/src/iocsh/atInit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/libcom/src/iocsh/atInit.c b/modules/libcom/src/iocsh/atInit.c index 5d8f233ed..7eba93dc7 100644 --- a/modules/libcom/src/iocsh/atInit.c +++ b/modules/libcom/src/iocsh/atInit.c @@ -36,7 +36,7 @@ static void atInitHook(initHookState state) struct cmditem* item = NULL; - while (item = (struct cmditem*)ellGet(&s_cmdlist)) { + while ((item = (struct cmditem*)ellGet(&s_cmdlist))) { printf("%s\n", item->cmd); if (iocshCmd(item->cmd))