From 9b92a98d0632c7f7276dd5c6a75b5c84a00db8d4 Mon Sep 17 00:00:00 2001 From: Jerzy Jamroz Date: Thu, 6 Feb 2025 11:35:26 +0100 Subject: [PATCH] fix: ELLLIST initialization with ELLLIST_INIT. --- 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 f30a6df25..5d8f233ed 100644 --- a/modules/libcom/src/iocsh/atInit.c +++ b/modules/libcom/src/iocsh/atInit.c @@ -26,7 +26,7 @@ struct cmditem { char* cmd; }; -static ELLLIST s_cmdlist = {}; +static ELLLIST s_cmdlist = ELLLIST_INIT; static int s_initendflag = 0; // Defines the end of the initialization static void atInitHook(initHookState state)