This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit e1b31d5ccebf482af88d0f0bc42d40c9c3b2c09a Author: huojianchao <[email protected]> AuthorDate: Tue Nov 24 14:08:51 2026 +0800 system/coredump: align the nhdr initializer as nxstyle wants nxstyle does not take Elf_Nhdr for a type, so it reads the initializer of nhdr in coredump_restore() as a compound statement and reports a bad left brace alignment. Align the braces with the declaration. No functional change. Assisted-by: Kiro:claude-opus-5-5 Signed-off-by: huojianchao <[email protected]> --- system/coredump/coredump.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/coredump/coredump.c b/system/coredump/coredump.c index 2787ee3d0..5ad825ac1 100644 --- a/system/coredump/coredump.c +++ b/system/coredump/coredump.c @@ -229,9 +229,9 @@ static void coredump_restore(FAR char *savepath, size_t maxfile) off_t off; int ret; Elf_Nhdr nhdr = - { - 0 - }; + { + 0 + }; blkfd = open(CONFIG_SYSTEM_COREDUMP_DEVPATH, O_RDWR); if (blkfd < 0)
