未验证 提交 edd22230 编写于 作者: O openharmony_ci 提交者: Gitee

!983 【OpenHarmony开源贡献者计划2022】删除未使用的变量 count

Merge pull request !983 from leijiawei/master
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册