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.git

commit 47d189197e22600e9827a16d8eda50912a2ce204
Author: Marco Casaroli <[email protected]>
AuthorDate: Thu Oct 29 19:58:17 2026 +0100

    fs/vfs: Add the blank lines after declarations in fs_sendfile.c.
    
    nxstyle reports "Missing blank line after declarations" twice in
    fs_sendfile.c.  The errors are older than the next change, which edits
    this file.  Whitespace only.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 fs/vfs/fs_sendfile.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/vfs/fs_sendfile.c b/fs/vfs/fs_sendfile.c
index e78f7df518f..ea14c03dbda 100644
--- a/fs/vfs/fs_sendfile.c
+++ b/fs/vfs/fs_sendfile.c
@@ -208,6 +208,7 @@ static ssize_t copyfile(FAR struct file *outfile, FAR 
struct file *infile,
       /* Use file_seek to get the current file position */
 
       off_t curpos = file_seek(infile, 0, SEEK_CUR);
+
       if (curpos < 0)
         {
           return curpos;
@@ -268,6 +269,7 @@ ssize_t file_sendfile(FAR struct file *outfile, FAR struct 
file *infile,
       /* Then let psock_sendfile do the work. */
 
       int ret = psock_sendfile(psock, infile, offset, count);
+
       if (ret >= 0 || ret != -ENOSYS)
         {
           return ret;

Reply via email to