Signed-off-by: torrizo <lishenhao2@huawei.com>
This commit is contained in:
torrizo 2024-07-11 13:11:47 +00:00 committed by Gitee
parent e1e2dc9e7e
commit f4aea82688
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -76,7 +76,7 @@ void TrustProfileManagerTest::TearDown()
int TrustProfileManagerTest::ResultSize(std::shared_ptr<ResultSet> &resultSet)
{
if (resultSet->GoToFirstRow() != E_OK && resultSet == nullptr) {
if (resultSet->GoToFirstRow() != E_OK) {
return 0;
}
int count;