!2408 Fix llvm-15 build error

Merge pull request !2408 from yinchuang/fix_llvm15_window_manager
This commit is contained in:
openharmony_ci 2023-03-29 06:12:12 +00:00 committed by Gitee
commit 2c616591e5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -202,7 +202,7 @@ HWTEST_F(WindowVisibilityInfoTest, WindowVisibilityInfoTest01, Function | Medium
bool isWindowVisible = false;
bool isSubWindowVisible = false;
uint32_t visibilityInfoCount = 0;
[[maybe_unused]] uint32_t visibilityInfoCount = 0;
ASSERT_EQ(WMError::WM_OK, window1->Show());
isWindowVisible = FillColor(window1);
WaitForCallback();