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 9a39e7ed69c3bb7de77d67d060785f8bcb3d29ff Author: Marco Casaroli <[email protected]> AuthorDate: Fri Oct 23 20:53:35 2026 +0200 games/NXDoom: Fix two nxstyle errors in txt_fileselect.c. Add a blank line after a declaration, and give an empty for loop braces, so that the next commit passes the style check. No functional change. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <[email protected]> --- games/NXDoom/textscreen/txt_fileselect.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/games/NXDoom/textscreen/txt_fileselect.c b/games/NXDoom/textscreen/txt_fileselect.c index b6b6067cd..e9ed96029 100644 --- a/games/NXDoom/textscreen/txt_fileselect.c +++ b/games/NXDoom/textscreen/txt_fileselect.c @@ -163,6 +163,7 @@ static char *exec_read_output(char **argv) else { char *new_result = realloc(result, result_len + bytes + 1); + if (new_result == NULL) { break; @@ -207,7 +208,8 @@ static unsigned int num_extensions(const char **extensions) if (extensions != NULL) { for (result = 0; extensions[result] != NULL; ++result) - ; + { + } } return result;
