fix warning:unused variable 'count' & add return value
Signed-off-by: leijiawei <18691361562@163.com>
This commit is contained in:
parent
325ea29df3
commit
51f6a20723
|
@ -53,7 +53,7 @@ static void *ThreadSetFunc2(void *arg)
|
||||||
retValue = sigwait(&set, &sig);
|
retValue = sigwait(&set, &sig);
|
||||||
ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue);
|
ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *ThreadSetDfl(void *arg)
|
static void *ThreadSetDfl(void *arg)
|
||||||
|
@ -72,7 +72,7 @@ static void *ThreadSetDfl(void *arg)
|
||||||
retValue = sigwait(&set, &sig);
|
retValue = sigwait(&set, &sig);
|
||||||
ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue);
|
ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *ThreadKill(void *arg)
|
static void *ThreadKill(void *arg)
|
||||||
|
@ -91,7 +91,7 @@ static void *ThreadKill(void *arg)
|
||||||
retValue = sigwait(&set, &sig);
|
retValue = sigwait(&set, &sig);
|
||||||
ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue);
|
ICUNIT_ASSERT_EQUAL_NULL(retValue, 0, retValue);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int TestMultiPthreadFatherProcessExit()
|
static int TestMultiPthreadFatherProcessExit()
|
||||||
|
|
Loading…
Reference in New Issue