From b18cf9aab303fde1aa7f038964331619a198c272 Mon Sep 17 00:00:00 2001 From: chao an Date: Thu, 13 Jul 2023 23:04:42 +0800 Subject: [PATCH] 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 --- 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; } /****************************************************************************