!14877 告警消除

Merge pull request !14877 from coldfresh/branch_linzhen
This commit is contained in:
openharmony_ci 2023-06-20 11:44:13 +00:00 committed by Gitee
commit 7e1ddf07cb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 1 additions and 2 deletions

View File

@ -107,7 +107,7 @@ void NavigationStack::AddForDefault(
{
// for the old page: destroy the UINode, but keep in the stack
auto index = FindIndex(name, navDestinationNode);
auto top = navPathList_.size() - 1;
auto top = static_cast<int32_t>(navPathList_.size()) - 1;
if (top != NOT_EXIST) {
auto oldName = navPathList_[top].first;
navPathList_.pop_back();

View File

@ -695,7 +695,6 @@ HWTEST_F(VideoTestNg, VideoPatternTest010, TestSize.Level1)
/**
* @tc.steps: step2. Prepare the childNode & videoEvent
*/
// frameNode->RemoveChildAtIndex(0); // remove the controlBar created in onModifyDone
auto controlBar = frameNode->GetChildAtIndex(1);
ASSERT_TRUE(controlBar);