This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 210b2e235286a939d06e4ed3d8e0bccd7dd3de6a
Author: Marco Casaroli <[email protected]>
AuthorDate: Thu Nov 5 16:14:04 2026 +0100

    libs/libc/stream: Fix the style of lib_dtoa_engine.c.
    
    Add the braces that nxstyle asks for.  The next commit changes this file,
    and the check reads all of a file that a commit changes.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 libs/libc/stream/lib_dtoa_engine.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libs/libc/stream/lib_dtoa_engine.c 
b/libs/libc/stream/lib_dtoa_engine.c
index e4e64baa04c..d7155305c9b 100644
--- a/libs/libc/stream/lib_dtoa_engine.c
+++ b/libs/libc/stream/lib_dtoa_engine.c
@@ -93,7 +93,9 @@ int __dtoa_engine(double x, FAR struct dtoa_s *dtoa, int 
max_digits,
     {
       flags |= DTOA_ZERO;
       for (i = 0; i < max_digits; i++)
-        dtoa->digits[i] = '0';
+        {
+          dtoa->digits[i] = '0';
+        }
     }
   else if (isnan(x))
     {

Reply via email to