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

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


The following commit(s) were added to refs/heads/master by this push:
     new b18cf9aab testing/ostest: fix Compiler Warning (level 1) C4716: 
'function' must return a value
b18cf9aab is described below

commit b18cf9aab303fde1aa7f038964331619a198c272
Author: chao an <[email protected]>
AuthorDate: Thu Jul 13 23:04:42 2023 +0800

    testing/ostest: fix Compiler Warning (level 1) C4716: 'function' must 
return a value
    
    
https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4716?view=msvc-170
    Signed-off-by: chao an <[email protected]>
---
 testing/ostest/pthread_exit.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testing/ostest/pthread_exit.c b/testing/ostest/pthread_exit.c
index 19cc5fef8..a16d2a6ca 100644
--- a/testing/ostest/pthread_exit.c
+++ b/testing/ostest/pthread_exit.c
@@ -86,6 +86,8 @@ static int pthread_exit_main(int argc, char **argv)
 
   printf("pthread_exit_main %u: ERROR:  Still running\n", me);
   exit(0);
+
+  return 0;
 }
 
 /****************************************************************************

Reply via email to