fix: 修复一些静态检查工具发现的问题

Signed-off-by: Far <yesiyuan2@huawei.com>
Change-Id: I2b93259d55a9eb1a9dfd5887fd7821c15274bb7f
This commit is contained in:
Far
2022-10-15 17:36:45 +08:00
parent ccdfa72431
commit 987a722d2d
17 changed files with 22 additions and 25 deletions

View File

@@ -65,7 +65,7 @@ static int GetHostByAddrTest(void)
addr = gethostbyaddr(&ia, sizeof ia, AF_INET);
ICUNIT_ASSERT_EQUAL(errno, EINVAL, errno);
    RecoveryFileEnv(pathList, file_number);
RecoveryFileEnv(pathList, file_number);
return ICUNIT_SUCCESS;
}