diff --git a/testsuites/unittest/extended/signal/full/signal_test_017.cpp b/testsuites/unittest/extended/signal/full/signal_test_017.cpp index 08968aa7cf288b313dabdd20fed4dc415fb32ca2..675e85694a15996cfd94c9b2f824ddb0d23777c6 100644 --- a/testsuites/unittest/extended/signal/full/signal_test_017.cpp +++ b/testsuites/unittest/extended/signal/full/signal_test_017.cpp @@ -49,10 +49,11 @@ static void *ThreadSetFunc2(void *arg) ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue); retValue = sigaddset(&set, SIGUSR1); ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue); - int count; retValue = sigwait(&set, &sig); ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue); + + return NULL; } static void *ThreadSetDfl(void *arg) @@ -67,10 +68,11 @@ static void *ThreadSetDfl(void *arg) ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue); retValue = sigaddset(&set, SIGUSR1); ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue); - int count; retValue = sigwait(&set, &sig); ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue); + + return NULL; } static void *ThreadKill(void *arg) @@ -85,10 +87,11 @@ static void *ThreadKill(void *arg) ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue); retValue = sigaddset(&set, SIGUSR1); ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue); - int count; retValue = sigwait(&set, &sig); ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue); + + return NULL; } static int TestMultiPthreadFatherProcessExit()