From 100d62d1ec2fe66897396e634a6eeefbec772abe Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 14 Oct 2025 13:07:12 -0500 Subject: [PATCH] rtems-debugger-cmd.c: Address missing field initializer warnings (shell) Address missing field initializer warnings. These were rtems_shell_cmd_t or rtems_shell_alias_t declarations with initialization. The initialization was changed to using named fields. Updates #5325. --- cpukit/libdebugger/rtems-debugger-cmd.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cpukit/libdebugger/rtems-debugger-cmd.c b/cpukit/libdebugger/rtems-debugger-cmd.c index afa522aa91..5bca5aa131 100644 --- a/cpukit/libdebugger/rtems-debugger-cmd.c +++ b/cpukit/libdebugger/rtems-debugger-cmd.c @@ -215,13 +215,13 @@ static int rtems_shell_main_debugger(int argc, char *argv[]) } rtems_shell_cmd_t rtems_shell_DEBUGGER_Command = { - "debugger", /* name */ - "debugger [start/stop] [options ...]", /* usage */ - "misc", /* topic */ - rtems_shell_main_debugger, /* command */ - NULL, /* alias */ - NULL, /* next */ - 0755, - 0, - 0 + .name = "debugger", + .usage = "debugger [start/stop] [options ...]", + .topic = "misc", + .command = rtems_shell_main_debugger, + .alias = NULL, + .next = NULL, + .mode = 0755, + .uid = 0, + .gid = 0 };