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

lupyuen pushed a commit to branch releases/12.7
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit 2933182cf641d3b252d26af69b9bacd8fedfb7ee
Author: dongjiuzhu1 <dongjiuz...@xiaomi.com>
AuthorDate: Tue Jun 4 14:54:00 2024 +0800

    system/uorb: fix compile warning
    
    apps/system/uorb/listener.c:543:38:
    warning: unused parameter 'file' [-Wunused-parameter]
                               FAR FILE *file)
    
    Signed-off-by: dongjiuzhu1 <dongjiuz...@xiaomi.com>
---
 system/uorb/listener.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/system/uorb/listener.c b/system/uorb/listener.c
index fa310e0f1..83b8efb17 100644
--- a/system/uorb/listener.c
+++ b/system/uorb/listener.c
@@ -551,6 +551,8 @@ static int listener_record(FAR const struct orb_metadata 
*meta, int fd,
     {
       ret = orb_fprintf(file, meta->o_format, buffer);
     }
+#else
+  (void)file;
 #endif
 
   return ret;

Reply via email to