From 51f6a207237c4f3cad82cb4605cbe88e13f0a9d4 Mon Sep 17 00:00:00 2001 From: leijiawei <18691361562@163.com> Date: Wed, 31 Aug 2022 15:28:27 +0800 Subject: [PATCH] fix warning:unused variable 'count' & add return value Signed-off-by: leijiawei <18691361562@163.com> --- .../unittest/extended/signal/full/signal_test_017.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testsuites/unittest/extended/signal/full/signal_test_017.cpp b/testsuites/unittest/extended/signal/full/signal_test_017.cpp index 8069e7e5..675e8569 100644 --- a/testsuites/unittest/extended/signal/full/signal_test_017.cpp +++ b/testsuites/unittest/extended/signal/full/signal_test_017.cpp @@ -53,7 +53,7 @@ static void *ThreadSetFunc2(void *arg) retValue = sigwait(&set, &sig); ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue); - return NULL; + return NULL; } static void *ThreadSetDfl(void *arg) @@ -72,7 +72,7 @@ static void *ThreadSetDfl(void *arg) retValue = sigwait(&set, &sig); ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue); - return NULL; + return NULL; } static void *ThreadKill(void *arg) @@ -91,7 +91,7 @@ static void *ThreadKill(void *arg) retValue = sigwait(&set, &sig); ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue); - return NULL; + return NULL; } static int TestMultiPthreadFatherProcessExit() -- GitLab